Title: gh-74953: Reformat PyThread_acquire_lock_timed() by vstinner · Pull Request #93947 · python/cpython · GitHub
Open Graph Title: gh-74953: Reformat PyThread_acquire_lock_timed() by vstinner · Pull Request #93947 · python/cpython
X Title: gh-74953: Reformat PyThread_acquire_lock_timed() by vstinner · Pull Request #93947 · python/cpython
Description: Reformat the pthread implementation of PyThread_acquire_lock_timed() using a mutex and a conditioinal variable. Add goto to avoid multiple indentation levels and exit quickly Use "while(1)" and make the control flow more obvious. PEP 7: Add braces around if blocks.
Open Graph Description: Reformat the pthread implementation of PyThread_acquire_lock_timed() using a mutex and a conditioinal variable. Add goto to avoid multiple indentation levels and exit quickly Use "while(1)&qu...
X Description: Reformat the pthread implementation of PyThread_acquire_lock_timed() using a mutex and a conditioinal variable. Add goto to avoid multiple indentation levels and exit quickly Use "while(1...
Opengraph URL: https://github.com/python/cpython/pull/93947
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c5b62e42-cd6e-bb94-58ab-790e906a5ce8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BDF0:F2B91:C348CB:1055730:69699992 |
| html-safe-nonce | bbd48161f2d700f3756b0f8183afadb44df8534c70cdca7cdbe42e517914d58e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREYwOkYyQjkxOkMzNDhDQjoxMDU1NzMwOjY5Njk5OTkyIiwidmlzaXRvcl9pZCI6IjQ5NDc5OTQ0MTM2MTQ3NTk4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 74fb9b490587ebbc52c282b2f1c1b0ba06fb7c13d281f7ec66e3ad832e2f42ce |
| hovercard-subject-tag | pull_request:970717439 |
| 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/93947/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | Reformat the pthread implementation of PyThread_acquire_lock_timed() using a mutex and a conditioinal variable. Add goto to avoid multiple indentation levels and exit quickly Use "while(1)&qu... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| 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 | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width