)]}'
{
  "commit": "0981fe1017a8111aa6544ff52bcbbc80eec6b3c0",
  "tree": "094cc0549f9ec7c55276027466718155597c7682",
  "parents": [
    "8e6b35366073a1a71df805061ecf016cc915a9f9"
  ],
  "author": {
    "name": "Tom Tromey",
    "email": "tom@tromey.com",
    "time": "Wed Mar 30 20:19:54 2022 -0600"
  },
  "committer": {
    "name": "Tom Tromey",
    "email": "tom@tromey.com",
    "time": "Tue Apr 12 09:31:15 2022 -0600"
  },
  "message": "Allow thread-pool.h to work without threads\n\nthread-pool.h requires CXX_STD_THREAD in order to even be included.\nHowever, there\u0027s no deep reason for this, and during review we found\nthat one patch in the new DWARF indexer series unconditionally\nrequires the thread pool.\n\nBecause the thread pool already allows a task to be run in the calling\nthread (for example if it is configured to have no threads in the\npool), it seemed straightforward to make this code ok to use when host\nthreads aren\u0027t available at all.\n\nThis patch implements this idea.  I built it on a thread-less host\n(mingw, before my recent configure patch) and verified that the result\nbuilds.\n\nAfter the thread-pool change, parallel-for.h no longer needs any\nCXX_STD_THREAD checks at all, so this patch removes these as well.\n\n\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3f3dad5bd79424af75056da8fd116b4daf0051aa",
      "old_mode": 33188,
      "old_path": "gdb/maint.c",
      "new_id": "60e183efdd1bda68b5955224b36fb2e1b20dabce",
      "new_mode": 33188,
      "new_path": "gdb/maint.c"
    },
    {
      "type": "modify",
      "old_id": "ca03094bf1215e83a76333eb47e3e66a07dacb95",
      "old_mode": 33188,
      "old_path": "gdbsupport/parallel-for.h",
      "new_id": "915814e485e169c6c4d8ee4801cb1d394b87d3a2",
      "new_mode": 33188,
      "new_path": "gdbsupport/parallel-for.h"
    },
    {
      "type": "modify",
      "old_id": "ce19ef23af53ffd439f1d9a2f44312e2818985f0",
      "old_mode": 33188,
      "old_path": "gdbsupport/thread-pool.cc",
      "new_id": "7d446952cc7154083353b0c9d1eaa7621b7e1083",
      "new_mode": 33188,
      "new_path": "gdbsupport/thread-pool.cc"
    },
    {
      "type": "modify",
      "old_id": "682106645255d5a15bccd6f05bf87583dce31c78",
      "old_mode": 33188,
      "old_path": "gdbsupport/thread-pool.h",
      "new_id": "2672e4d739a90c7eac0eec2c51edacce61502424",
      "new_mode": 33188,
      "new_path": "gdbsupport/thread-pool.h"
    }
  ]
}
