Title: gh-136870: fix race in `PyThreadState_Clear` on `sys_tracing_threads` by kumaraditya303 · Pull Request #136951 · python/cpython · GitHub
Open Graph Title: gh-136870: fix race in `PyThreadState_Clear` on `sys_tracing_threads` by kumaraditya303 · Pull Request #136951 · python/cpython
X Title: gh-136870: fix race in `PyThreadState_Clear` on `sys_tracing_threads` by kumaraditya303 · Pull Request #136951 · python/cpython
Description: In free-threading multiple threads can be cleared concurrently as such the modifications on sys_tracing_threads should be done while holding the profile lock otherwise it can race with other threads setting up profiling. Issue: gh-136870
Open Graph Description: In free-threading multiple threads can be cleared concurrently as such the modifications on sys_tracing_threads should be done while holding the profile lock otherwise it can race with other thread...
X Description: In free-threading multiple threads can be cleared concurrently as such the modifications on sys_tracing_threads should be done while holding the profile lock otherwise it can race with other thread...
Opengraph URL: https://github.com/python/cpython/pull/136951
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:15df2a30-e089-07bb-282d-c6a026925df2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A612:305E50:2ED05C0:4386807:6A567794 |
| html-safe-nonce | f31ed3e103c2baef262edf56b87da2b8ff92d21e6c69f244924d198baa9a0c0c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjEyOjMwNUU1MDoyRUQwNUMwOjQzODY4MDc6NkE1Njc3OTQiLCJ2aXNpdG9yX2lkIjoiODYyNDU0NDkxNzcyMzk2OTQyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b0d4d53bed73517aa49575f1e0f9ccefdc111ae77ebdee71566a74b46f1dbbdf |
| hovercard-subject-tag | pull_request:2683049224 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/136951/files |
| 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 | In free-threading multiple threads can be cleared concurrently as such the modifications on sys_tracing_threads should be done while holding the profile lock otherwise it can race with other thread... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b5ee9431dcfce15ab4b001d626e4e3a6ba1acb7be814813a52bbebd9a86ef5 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | afc01ffdb045f4ff81c6122091366ade7b6166b7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width