)]}'
{
  "commit": "0203a823af086aee948270b2026c89c7777c63e6",
  "tree": "d3da7e43639f146ea20371fd8af89e5bdb0ffd6f",
  "parents": [
    "04a827a3c3a8710819b6a9a80d0c85f948ae5351"
  ],
  "author": {
    "name": "Kirill Makurin",
    "email": "maiddaisuki@outlook.com",
    "time": "Tue Nov 10 23:25:13 2026 +0900"
  },
  "committer": {
    "name": "LIU Hao",
    "email": "lh_mouse@126.com",
    "time": "Thu Nov 12 22:44:07 2026 +0800"
  },
  "message": "winpthreads: affinity.c: update `pthread_set_num_processors_np`\n\nThis function now ensures that new process affinity mask is strict subset\nof the system affinity mask. Additionally, it now tries to preserve as many\nbits as possible in the new process affinity mask.\n\nThis function now returns number of processors in the process affinity mask;\nif the returned number is less than `processorCount`, it either was unable to\nset new process affinity mask or it would exceed number of processors in the\nsystem affinity mask. Also, this function now can return zero on failure.\n\nThis function now treats `processorCount` of zero as a request to reset\nprocess affinity mask to the system affinity mask; this cannot be done by\npassing number returned by `pthread_num_processors_np` since it returns number\nof processors in the process affinity mask, which can be smaller than number\nof processors in the system affinity mask.\n\nSigned-off-by: Kirill Makurin \u003cmaiddaisuki@outlook.com\u003e\nSigned-off-by: LIU Hao \u003clh_mouse@126.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "305a8de26aabda093342556821eab78aaeefaf69",
      "old_mode": 33188,
      "old_path": "mingw-w64-libraries/winpthreads/src/affinity.c",
      "new_id": "d1326391201c59eeb6ed62e0f9c5c7578168b75e",
      "new_mode": 33188,
      "new_path": "mingw-w64-libraries/winpthreads/src/affinity.c"
    }
  ]
}
