)]}'
{
  "commit": "f8a1e0ebd1dbf7dafad8d93270d4f0835dcef092",
  "tree": "7d526c735078fe2c3a4b819ea25fa484d87a1ed2",
  "parents": [
    "1fdaa5df80e3a4237ad5db45d878478e0a96c092"
  ],
  "author": {
    "name": "Tom Anderson",
    "email": "thomasanderson@chromium.org",
    "time": "Tue Jan 30 00:17:34 2018 +0000"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Tue Jan 30 00:17:34 2018 +0000"
  },
  "message": "Fix \u0027gn gen --check\u0027 hanging indefinitely\n\nr531270 refactored HeaderChecker to use an atomic counter to track the number of\nheader-checking tasks.  The main thread waits on the task count becoming zero,\nand the task counter is decremented whenever a task completes.  However, the\nmain thread didn\u0027t increment the task counter when it created a task, so the\ncounter would count into negative values and never reach zero, hanging gn\nindefinitely.  The fix is to increment the counter when posting a task.\n\nR\u003ddpranke\nCC\u003dfdoray\n\nChange-Id: Id55f943cf0e2af3e9e5af5f3dddf8a7b7671eaac\nReviewed-on: https://chromium-review.googlesource.com/889930\nReviewed-by: Dirk Pranke \u003cdpranke@chromium.org\u003e\nCommit-Queue: Thomas Anderson \u003cthomasanderson@chromium.org\u003e\nCr-Original-Commit-Position: refs/heads/master@{#532684}\nCr-Mirrored-From: https://chromium.googlesource.com/chromium/src\nCr-Mirrored-Commit: 7c742b6ec9b635a42b37df65efb28d30f9cc8fcb",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d4fb6f73693b80fcc7373e4a949619f9df0f76c0",
      "old_mode": 33188,
      "old_path": "tools/gn/header_checker.cc",
      "new_id": "ac8214b79377bca2012396dd5b16adfb3a7db926",
      "new_mode": 33188,
      "new_path": "tools/gn/header_checker.cc"
    }
  ]
}
