)]}'
{
  "commit": "e42b9491c6dc90b57dc125165c732af0e7820f3a",
  "tree": "b6d4c8182dadbf4a2d243aaa8031c9ff70c1b55b",
  "parents": [
    "3147c814c309b43d3f02d69e39fa8da05dfb4cad"
  ],
  "author": {
    "name": "Kirill Makurin",
    "email": "maiddaisuki@outlook.com",
    "time": "Fri Sep 11 17:22:24 2026 +0900"
  },
  "committer": {
    "name": "LIU Hao",
    "email": "lh_mouse@126.com",
    "time": "Sat Sep 12 13:39:30 2026 +0800"
  },
  "message": "winpthreads: mutex.c: refactor implementation\n\nFor each mutex type supported by the implementation, move logic for each basic\noperation to a separate function:\n\n- It reduces amount of runtime checks\n- It makes it easier to follow interaction between functions implementing\n  basic operations for a specific mutex type\n\nThere is now a separate `Winpthreads{Type}Mutex` structure for each mutex type\nsupported by the implementation.\n\nStructure `WinpthreadsMutex`, which is pointed to by `pthread_mutex_t` objects,\nnow is an union of mutex-type-specific `Winpthreads{Type}Mutex` structures.\n\nThe real allocation size of `WinpthreadsMutex` structure is the same as for\n`Winpthreads{Type}Mutex` structure for a specific mutex type; this allows us to\nallocate only as much memory as required to implement specific mutex type.\n\nSigned-off-by: Kirill Makurin \u003cmaiddaisuki@outlook.com\u003e\nCo-authored-by: LIU Hao \u003clh_mouse@126.com\u003e\nSigned-off-by: LIU Hao \u003clh_mouse@126.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5d1e15ee8ccd4b474cbd2607fdf292c0de7eeb80",
      "old_mode": 33188,
      "old_path": "mingw-w64-libraries/winpthreads/src/mutex.c",
      "new_id": "3b3edf261caa54c34c605e7ebd6e6b2802c657eb",
      "new_mode": 33188,
      "new_path": "mingw-w64-libraries/winpthreads/src/mutex.c"
    }
  ]
}
