Title: Use try_lock in py_os_after_fork_child by youknowone · Pull Request #7178 · RustPython/RustPython · GitHub
Open Graph Title: Use try_lock in py_os_after_fork_child by youknowone · Pull Request #7178 · RustPython/RustPython
X Title: Use try_lock in py_os_after_fork_child by youknowone · Pull Request #7178 · RustPython/RustPython
Description: A Python Interpreter written in Rust. Contribute to RustPython/RustPython development by creating an account on GitHub.
Open Graph Description: after_forkers_child.lock() can deadlock in the forked child if another thread held the mutex at the time of fork. Use try_lock and skip at-fork callbacks when the lock is unavailable, matching the ...
X Description: after_forkers_child.lock() can deadlock in the forked child if another thread held the mutex at the time of fork. Use try_lock and skip at-fork callbacks when the lock is unavailable, matching the ...
Opengraph URL: https://github.com/RustPython/RustPython/pull/7178
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:539ef15c-6377-941c-d1bf-d1362a3c1959 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CE6C:169995:1A52BF:23FAE5:6A5CB467 |
| html-safe-nonce | dad787cfbc71f9ea1762cdfae6069e01365ffc9e4fdc30452fc535b9719b8ce6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTZDOjE2OTk5NToxQTUyQkY6MjNGQUU1OjZBNUNCNDY3IiwidmlzaXRvcl9pZCI6IjIxODk0NzYzNjUzNzYyMDU5MjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c02468d9976dcca4f06558ee6540da44f2d75bfe9c44fd09a8ff669bf886d99d |
| hovercard-subject-tag | pull_request:3292386788 |
| 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/RustPython/RustPython/pull/7178/commits |
| twitter:image | https://opengraph.githubassets.com/a740480c2bd0364a77883f1b5387afc60a135802526a6c203ea488fb7040e92c/RustPython/RustPython/pull/7178 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a740480c2bd0364a77883f1b5387afc60a135802526a6c203ea488fb7040e92c/RustPython/RustPython/pull/7178 |
| og:image:alt | after_forkers_child.lock() can deadlock in the forked child if another thread held the mutex at the time of fork. Use try_lock and skip at-fork callbacks when the lock is unavailable, matching the ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | youknowone |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-cache |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width