Title: Save errno inside allow_threads in semaphore acquire by youknowone · Pull Request #7391 · RustPython/RustPython · GitHub
Open Graph Title: Save errno inside allow_threads in semaphore acquire by youknowone · Pull Request #7391 · RustPython/RustPython
X Title: Save errno inside allow_threads in semaphore acquire by youknowone · Pull Request #7391 · RustPython/RustPython
Description: A Python Interpreter written in Rust. Contribute to RustPython/RustPython development by creating an account on GitHub.
Open Graph Description: allow_threads may call attach_thread() on return, which can invoke syscalls that clobber errno. Capture errno inside the closure before it is lost. Summary by CodeRabbit Bug Fixes Improved sema...
X Description: allow_threads may call attach_thread() on return, which can invoke syscalls that clobber errno. Capture errno inside the closure before it is lost. Summary by CodeRabbit Bug Fixes Improved sema...
Opengraph URL: https://github.com/RustPython/RustPython/pull/7391
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:baf16d49-9a2b-5cf1-546a-5e1a3df430d9 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D794:3BBD48:33C8D:40652:6A601343 |
| html-safe-nonce | ca26a4a80c54e3fd1210e78ddb93f2b3edf7a0dcdcbec01d80411c7baf2295a2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzk0OjNCQkQ0ODozM0M4RDo0MDY1Mjo2QTYwMTM0MyIsInZpc2l0b3JfaWQiOiI5MDI2MzY5ODMwMTY2NDY3Mzk1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 28744877d41a4453e57dc018ae72cb7929aff9730df18c982104dc10749192d2 |
| hovercard-subject-tag | pull_request:3373584804 |
| 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/RustPython/RustPython/pull/7391/checks |
| twitter:image | https://opengraph.githubassets.com/02665844aa2beb6f1c98bc8d247109e9dd22474dbe361d3cd0a9cfde921c4503/RustPython/RustPython/pull/7391 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/02665844aa2beb6f1c98bc8d247109e9dd22474dbe361d3cd0a9cfde921c4503/RustPython/RustPython/pull/7391 |
| og:image:alt | allow_threads may call attach_thread() on return, which can invoke syscalls that clobber errno. Capture errno inside the closure before it is lost. Summary by CodeRabbit Bug Fixes Improved sema... |
| 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 | 48cb2ed2304f8ae5a4a05d6327faf70466c4c0d9dcbf7b9df76251ca9c669a90 |
| 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 | cb0f10a384099e0765239a7cc220992cae52bdba |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width