Title: gh-128002: fix many thread safety issues in asyncio by kumaraditya303 · Pull Request #128147 · python/cpython · GitHub
Open Graph Title: gh-128002: fix many thread safety issues in asyncio by kumaraditya303 · Pull Request #128147 · python/cpython
X Title: gh-128002: fix many thread safety issues in asyncio by kumaraditya303 · Pull Request #128147 · python/cpython
Description: Changes: Makes _asyncio.Task and _asyncio.Future thread-safe by adding critical sections Add assertions to check for thread safety checking locking of object by critical sections in internal functions Make _asyncio.all_tasks thread safe when eager tasks are used Change asyncio state lock to a mutex rather than critical section to fix re-entrancy crash, not really sure about this one Add a thread safety test Issue: gh-128002
Open Graph Description: Changes: Makes _asyncio.Task and _asyncio.Future thread-safe by adding critical sections Add assertions to check for thread safety checking locking of object by critical sections in internal funct...
X Description: Changes: Makes _asyncio.Task and _asyncio.Future thread-safe by adding critical sections Add assertions to check for thread safety checking locking of object by critical sections in internal funct...
Opengraph URL: https://github.com/python/cpython/pull/128147
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:7d41ba21-7c41-c0fe-e4ee-63d182e787b4 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8D46:9124A:3C4CDC:4E20FA:696ADE1D |
| html-safe-nonce | cb9ca47251ef04b7800a353eb80216488be3d9a0b58eed8be4b68ad075ca5dbc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDQ2OjkxMjRBOjNDNENEQzo0RTIwRkE6Njk2QURFMUQiLCJ2aXNpdG9yX2lkIjoiNDgxNDAxMjg5NzE5NDMzNTc3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0e663ff77c96a9300564b36f0d31f88d835aeb48bece6bd400f56a7a9cbf2690 |
| hovercard-subject-tag | pull_request:2247707781 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/python/cpython/pull/128147/checks |
| twitter:image | https://avatars.githubusercontent.com/u/59607654?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/59607654?s=400&v=4 |
| og:image:alt | Changes: Makes _asyncio.Task and _asyncio.Future thread-safe by adding critical sections Add assertions to check for thread safety checking locking of object by critical sections in internal funct... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-cache |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 524a93f2c1f36522a3b4be4c110467ee4172245d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width