Title: bpo-33015: Add a wrapper for thread function in PyThread_start_new_thread by siddhesh · Pull Request #6008 · python/cpython · GitHub
Open Graph Title: bpo-33015: Add a wrapper for thread function in PyThread_start_new_thread by siddhesh · Pull Request #6008 · python/cpython
X Title: bpo-33015: Add a wrapper for thread function in PyThread_start_new_thread by siddhesh · Pull Request #6008 · python/cpython
Description: PyThread_start_new_thread accepts a function of type void (*) (void *), which does not match with the pthread_create function callback prototype void *(*) (void *). This results in an invalid function cast warning with gcc8. Fix this by wrapping the function in an internal pthread function callback that returns NULL. https://bugs.python.org/issue33015
Open Graph Description: PyThread_start_new_thread accepts a function of type void (*) (void *), which does not match with the pthread_create function callback prototype void *(*) (void *). This results in an invalid func...
X Description: PyThread_start_new_thread accepts a function of type void (*) (void *), which does not match with the pthread_create function callback prototype void *(*) (void *). This results in an invalid func...
Opengraph URL: https://github.com/python/cpython/pull/6008
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3c28182e-6d45-f17f-4672-1893d15894f9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AB84:1F19:4F907A3:71038C8:6A5021D3 |
| html-safe-nonce | 4f41bc45a9bd0ab3f83dc5f40d3d37f595a30521c1180da44ecceb76ba2de0ee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjg0OjFGMTk6NEY5MDdBMzo3MTAzOEM4OjZBNTAyMUQzIiwidmlzaXRvcl9pZCI6IjIzMTQyOTUzMjE5NTIyNjQ2NTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 82392b658ae1fc97ebaa239188c687bf75bca03c0e85ebd6d03512cf320a43c0 |
| hovercard-subject-tag | pull_request:173250047 |
| 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/6008/files |
| twitter:image | https://avatars.githubusercontent.com/u/158582?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/158582?s=400&v=4 |
| og:image:alt | PyThread_start_new_thread accepts a function of type void (*) (void *), which does not match with the pthread_create function callback prototype void *(*) (void *). This results in an invalid func... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a08040246389072795e3b4e7b33c6d9a0c564eee02e829a809326d67c418b069 |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d1b91b18e7330fc458dfd824c61eaed7daa830d6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width