)]}'
{
  "commit": "5ba02dfeeb84ddd7550940cfccfcc9bfb2fd4565",
  "tree": "8bc6bcf2365c9925b42531db70edc37ebf03cdf7",
  "parents": [
    "748e570750a6a45c45841bc64adb788094f97516"
  ],
  "author": {
    "name": "Takuto Ikuta",
    "email": "tikuta@google.com",
    "time": "Tue Dec 01 11:52:40 2026 +0900"
  },
  "committer": {
    "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Nov 30 20:53:41 2026 -0800"
  },
  "message": "Replace Semaphore with std::counting_semaphore\n\nReplace the custom platform-specific Semaphore wrapper in\nsrc/util/semaphore.{h,cc} with C++20 std::counting_semaphore\u003c\u003e in\nsrc/util/auto_reset_event.h, and remove the obsolete files from the\nbuild.\n\nUsing std::counting_semaphore\u003c\u003e rather than std::binary_semaphore\nmatches the previous Semaphore semantics and avoids exceeding max()\nwhen multiple waiters are signaled concurrently.\n\nChange-Id: Ic57fe29bdd8c13b04181079c0f46825fddee6d65\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/29860\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4163a60c4c4e4a7ac6d7c32f7ec18b0ae81690d8",
      "old_mode": 33261,
      "old_path": "build/gen.py",
      "new_id": "a1ed2b5f440ec84cbac66d0bad4898ac533129d3",
      "new_mode": 33261,
      "new_path": "build/gen.py"
    },
    {
      "type": "modify",
      "old_id": "5e040a8984f38d883b61b736de447dded7801f9a",
      "old_mode": 33188,
      "old_path": "src/util/auto_reset_event.h",
      "new_id": "7fce403a89b70952d0766f2a5cc17e56b0955448",
      "new_mode": 33188,
      "new_path": "src/util/auto_reset_event.h"
    },
    {
      "type": "delete",
      "old_id": "afed45e188bd466c9a0e24aa9bb3cf4142adaf45",
      "old_mode": 33188,
      "old_path": "src/util/semaphore.cc",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "13a0992761016778285618cd8a60897c26d5d78a",
      "old_mode": 33188,
      "old_path": "src/util/semaphore.h",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    }
  ]
}
