Title: bpo-33015: Fix func cast warn in PyThread_start_new_thread() by vstinner · Pull Request #10057 · python/cpython · GitHub
Open Graph Title: bpo-33015: Fix func cast warn in PyThread_start_new_thread() by vstinner · Pull Request #10057 · python/cpython
X Title: bpo-33015: Fix func cast warn in PyThread_start_new_thread() by vstinner · Pull Request #10057 · python/cpython
Description: Fix a warning on a cast between two different function pointer types in the pthread implementation of PyThread_start_new_thread(). Cast the function pointer temporarily to "void *" to mute the warning. The overall cast changes the return type of the function pointer: convert "void" return type (no return type) to "void*" return type. Python uses pthread_detach() and doesn't use pthread_join(), the thread return value is ignored. https://bugs.python.org/issue33015
Open Graph Description: Fix a warning on a cast between two different function pointer types in the pthread implementation of PyThread_start_new_thread(). Cast the function pointer temporarily to "void *" to mut...
X Description: Fix a warning on a cast between two different function pointer types in the pthread implementation of PyThread_start_new_thread(). Cast the function pointer temporarily to "void *"...
Opengraph URL: https://github.com/python/cpython/pull/10057
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4af17816-720e-a287-c8d7-ff89f6cc6bcd |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CD24:2E11B4:23DCAA:2FA63D:6A50711E |
| html-safe-nonce | cab708ced97938c11596d51d99e24caae9af2d050f4122bd3091f65f50267716 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDI0OjJFMTFCNDoyM0RDQUE6MkZBNjNEOjZBNTA3MTFFIiwidmlzaXRvcl9pZCI6IjE5ODUyNDQ4Mzc4ODUwMTQzMDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 768cd426b308f1c9a177d316939c980062259b920c7ab3de24405599810c20e9 |
| hovercard-subject-tag | pull_request:225019284 |
| 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/10057/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 | Fix a warning on a cast between two different function pointer types in the pthread implementation of PyThread_start_new_thread(). Cast the function pointer temporarily to "void *" to mut... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| 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 | 7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width