)]}'
{
  "commit": "91ecc8f43c42c677cd7b2230a68f19b64b649ba5",
  "tree": "f05df203ee000dde0ce2297cea01a6ef663513d4",
  "parents": [
    "1e5f2391704c252fcd01f798a18aa8558376cb1a"
  ],
  "author": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Wed Nov 23 13:55:38 2011 +0000"
  },
  "committer": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Wed Nov 23 13:55:38 2011 +0000"
  },
  "message": "Added shmtx interface to forcibly unlock mutexes.\n\nIt is currently used from master process on abnormal worker termination to\nunlock accept mutex (unlocking of accept mutex was broken in 1.0.2).  It is\nexpected to be used in the future to unlock other mutexes as well.\n\nShared mutex code was rewritten to make this possible in a safe way, i.e.\nwith a check if lock was actually held by the exited process.  We again use\npid to lock mutex, and use separate atomic variable for a count of processes\nwaiting in sem_wait().\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "db473571f6e9a501b1cfedd7dce6830e790a243b",
      "old_mode": 33188,
      "old_path": "src/core/ngx_cycle.c",
      "new_id": "525ef41d79a0ea2037f5dd9df1a1debafc665213",
      "new_mode": 33188,
      "new_path": "src/core/ngx_cycle.c"
    },
    {
      "type": "modify",
      "old_id": "3b429c4f979ecf99a8a455c1805c685d8c14aead",
      "old_mode": 33188,
      "old_path": "src/core/ngx_shmtx.c",
      "new_id": "5a9242dfe879187eb31a7b917d848b37b455deb6",
      "new_mode": 33188,
      "new_path": "src/core/ngx_shmtx.c"
    },
    {
      "type": "modify",
      "old_id": "714f73aa624fcba51ffd9f0501152d911042e40d",
      "old_mode": 33188,
      "old_path": "src/core/ngx_shmtx.h",
      "new_id": "3ee7d3a7933bb85026102e5ba7a920fc90202189",
      "new_mode": 33188,
      "new_path": "src/core/ngx_shmtx.h"
    },
    {
      "type": "modify",
      "old_id": "291e1b51e13ddcb9d4a6e1fc030c28f29e7a3190",
      "old_mode": 33188,
      "old_path": "src/core/ngx_slab.h",
      "new_id": "202fd938011c3ec5711fd1b1038231d0073ffeda",
      "new_mode": 33188,
      "new_path": "src/core/ngx_slab.h"
    },
    {
      "type": "modify",
      "old_id": "8a472ffe80d3bac9420b1d090624327234500c66",
      "old_mode": 33188,
      "old_path": "src/event/ngx_event.c",
      "new_id": "7d297d96ba55153f967d4f01d00f58641cdf0962",
      "new_mode": 33188,
      "new_path": "src/event/ngx_event.c"
    },
    {
      "type": "modify",
      "old_id": "08069c4b698d2b8280f6379fa89ab1d24a8af3d9",
      "old_mode": 33188,
      "old_path": "src/os/unix/ngx_process.c",
      "new_id": "cbdae8be1614e374a1aa6e03ff081c61e8756942",
      "new_mode": 33188,
      "new_path": "src/os/unix/ngx_process.c"
    }
  ]
}
