Title: The os.sched_yield() implementation in posixmodule.c doesn't release the GIL · Issue #96078 · python/cpython · GitHub
Open Graph Title: The os.sched_yield() implementation in posixmodule.c doesn't release the GIL · Issue #96078 · python/cpython
X Title: The os.sched_yield() implementation in posixmodule.c doesn't release the GIL · Issue #96078 · python/cpython
Description: I've reviewed the main branch and the GIL isn't released: https://github.com/python/cpython/blob/main/Modules/posixmodule.c#L7060 The forum thread: https://discuss.python.org/t/does-the-os-sched-yield-release-the-gil/18301 Expected: The ...
Open Graph Description: I've reviewed the main branch and the GIL isn't released: https://github.com/python/cpython/blob/main/Modules/posixmodule.c#L7060 The forum thread: https://discuss.python.org/t/does-the-os-sched-yi...
X Description: I've reviewed the main branch and the GIL isn't released: https://github.com/python/cpython/blob/main/Modules/posixmodule.c#L7060 The forum thread: https://discuss.python.org/t/does-the-os-...
Opengraph URL: https://github.com/python/cpython/issues/96078
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The os.sched_yield() implementation in posixmodule.c doesn't release the GIL","articleBody":"I've reviewed the `main` branch and the GIL isn't released: https://github.com/python/cpython/blob/main/Modules/posixmodule.c#L7060\r\n\r\nThe forum thread: https://discuss.python.org/t/does-the-os-sched-yield-release-the-gil/18301\r\n\r\nExpected: The GIL is released before sched_yield() and acquired after that.","author":{"url":"https://github.com/FilipDepta","@type":"Person","name":"FilipDepta"},"datePublished":"2022-08-18T16:42:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/96078/cpython/issues/96078"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dc6418bc-f021-1754-7c18-74aabdb540d8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E806:2ACFDC:9883E2:CC8F66:69699137 |
| html-safe-nonce | 92f1167959bc10488387c7decc7c551ade5d6bae82da0733b7959e0df8dcaa17 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODA2OjJBQ0ZEQzo5ODgzRTI6Q0M4RjY2OjY5Njk5MTM3IiwidmlzaXRvcl9pZCI6IjMwMjI4OTk3OTI1OTgxMTA1MjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0510cd05834c9c40e6b4f7c391d35b309343e0f8b79f40d9653a5813d504d341 |
| hovercard-subject-tag | issue:1343356354 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/96078/issue_layout |
| twitter:image | https://opengraph.githubassets.com/765c4e1907164e0f9b2ff3403709a550bd8daf79f5d8a6a2f011af31eb8001f3/python/cpython/issues/96078 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/765c4e1907164e0f9b2ff3403709a550bd8daf79f5d8a6a2f011af31eb8001f3/python/cpython/issues/96078 |
| og:image:alt | I've reviewed the main branch and the GIL isn't released: https://github.com/python/cpython/blob/main/Modules/posixmodule.c#L7060 The forum thread: https://discuss.python.org/t/does-the-os-sched-yi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | FilipDepta |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width