René's URL Explorer Experiment


Title: threading module can deadlock after fork · Issue #39802 · python/cpython · GitHub

Open Graph Title: threading module can deadlock after fork · Issue #39802 · python/cpython

X Title: threading module can deadlock after fork · Issue #39802 · python/cpython

Description: BPO 874900 Nosy @gpshead, @jcea, @amauryfa, @pitrou, @benjaminp Files fork_threading.py: demo scriptfork-and-threading5-gps01.patch: fixes fork-and-thread4, pitrou's fork_threading.py works with this patch.threading-874900-improvement-gp...

Open Graph Description: BPO 874900 Nosy @gpshead, @jcea, @amauryfa, @pitrou, @benjaminp Files fork_threading.py: demo scriptfork-and-threading5-gps01.patch: fixes fork-and-thread4, pitrou's fork_threading.py works with th...

X Description: BPO 874900 Nosy @gpshead, @jcea, @amauryfa, @pitrou, @benjaminp Files fork_threading.py: demo scriptfork-and-threading5-gps01.patch: fixes fork-and-thread4, pitrou's fork_threading.py works wit...

Opengraph URL: https://github.com/python/cpython/issues/39802

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"threading module can deadlock after fork","articleBody":"BPO | [874900](https://bugs.python.org/issue874900)\n--- | :---\nNosy | @gpshead, @jcea, @amauryfa, @pitrou, @benjaminp\nFiles | \u003cli\u003e[fork_threading.py](https://bugs.python.org/file9288/fork_threading.py \"Uploaded as text/plain at 2008-01-25.21:58:04 by @pitrou\"): demo script\u003c/li\u003e\u003cli\u003e[fork-and-threading5-gps01.patch](https://bugs.python.org/file10889/fork-and-threading5-gps01.patch \"Uploaded as text/plain at 2008-07-12.22:22:53 by @gpshead\"): fixes fork-and-thread4, pitrou's fork_threading.py works with this patch.\u003c/li\u003e\u003cli\u003e[threading-874900-improvement-gps01.diff](https://bugs.python.org/file10932/threading-874900-improvement-gps01.diff \"Uploaded as text/plain at 2008-07-17.23:33:45 by @gpshead\"): is this an improvement?  is it needed?\u003c/li\u003e\u003cli\u003e[forkthread.patch](https://bugs.python.org/file11378/forkthread.patch \"Uploaded as text/plain at 2008-09-04.22:55:55 by @pitrou\")\u003c/li\u003e\u003cli\u003e[forkthread2.patch](https://bugs.python.org/file11379/forkthread2.patch \"Uploaded as text/plain at 2008-09-04.23:17:39 by @pitrou\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2008-09-06.23:04:57.802\u003e\ncreated_at = \u003cDate 2004-01-11.14:28:06.000\u003e\nlabels = ['interpreter-core', 'type-bug', 'release-blocker']\ntitle = 'threading module can deadlock after fork'\nupdated_at = \u003cDate 2011-07-11.06:04:45.798\u003e\nuser = 'https://bugs.python.org/mikemccand'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2011-07-11.06:04:45.798\u003e\nactor = 'nirai'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2008-09-06.23:04:57.802\u003e\ncloser = 'pitrou'\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2004-01-11.14:28:06.000\u003e\ncreator = 'mikemccand'\ndependencies = []\nfiles = ['9288', '10889', '10932', '11378', '11379']\nhgrepos = []\nissue_num = 874900\nkeywords = ['patch', 'needs review']\nmessage_count = 54.0\nmessages = ['60453', '60454', '60455', '61693', '61695', '69423', '69437', '69466', '69467', '69468', '69470', '69476', '69477', '69478', '69479', '69492', '69512', '69549', '69550', '69569', '69601', '69603', '69607', '69696', '69702', '69784', '69793', '69795', '69825', '69867', '69868', '69878', '69888', '69889', '69893', '69894', '69928', '70174', '71297', '71298', '71301', '71315', '71818', '71824', '72546', '72549', '72550', '72551', '72552', '72591', '72716', '72717', '72721', '72727']\nnosy_count = 10.0\nnosy_names = ['gregory.p.smith', 'jcea', 'mikemccand', 'tzot', 'amaury.forgeotdarc', 'Rhamphoryncus', 'pitrou', 'benjamin.peterson', 'jnoller', 'bobbyi']\npr_nums = []\npriority = 'release blocker'\nresolution = 'fixed'\nstage = None\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue874900'\nversions = ['Python 3.0']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/mikemccand","@type":"Person","name":"mikemccand"},"datePublished":"2004-01-11T14:28:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":54},"url":"https://github.com/39802/cpython/issues/39802"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:df56e3f5-7637-5ba1-587c-a31de6d6512c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC684:2C03D:1B4AC89:25B37E9:6A4EB3CD
html-safe-nonce976e528bb9567d0c1df563c9606affd5a7c7c355bd59004e7b3ecf2c642e7d8c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjg0OjJDMDNEOjFCNEFDODk6MjVCMzdFOTo2QTRFQjNDRCIsInZpc2l0b3JfaWQiOiI1ODc3MTU1MjIyOTU5MDc2MzAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1945c5d83719547d27486dc2e3e8d1e850e8beaa25778fe438d5319af3a82d76
hovercard-subject-tagissue:1198799971
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/39802/issue_layout
twitter:imagehttps://opengraph.githubassets.com/51ade2e0a81ffb70c9238e0973a9da939869c76a6bb86be99cfa7c1d1cd96c81/python/cpython/issues/39802
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/51ade2e0a81ffb70c9238e0973a9da939869c76a6bb86be99cfa7c1d1cd96c81/python/cpython/issues/39802
og:image:altBPO 874900 Nosy @gpshead, @jcea, @amauryfa, @pitrou, @benjaminp Files fork_threading.py: demo scriptfork-and-threading5-gps01.patch: fixes fork-and-thread4, pitrou's fork_threading.py works with th...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemikemccand
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/39802#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F39802
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F39802
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/39802
Reloadhttps://github.com/python/cpython/issues/39802
Reloadhttps://github.com/python/cpython/issues/39802
Please reload this pagehttps://github.com/python/cpython/issues/39802
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/39802
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
threading module can deadlock after forkhttps://github.com/python/cpython/issues/39802#top
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
release-blockerhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22release-blocker%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
on Jan 11, 2004https://github.com/python/cpython/issues/39802#issue-1198799971
874900https://bugs.python.org/issue874900
@gpsheadhttps://github.com/gpshead
@jceahttps://github.com/jcea
@amauryfahttps://github.com/amauryfa
@pitrouhttps://github.com/pitrou
@benjaminphttps://github.com/benjaminp
fork_threading.pyhttps://bugs.python.org/file9288/fork_threading.py
fork-and-threading5-gps01.patchhttps://bugs.python.org/file10889/fork-and-threading5-gps01.patch
threading-874900-improvement-gps01.diffhttps://bugs.python.org/file10932/threading-874900-improvement-gps01.diff
forkthread.patchhttps://bugs.python.org/file11378/forkthread.patch
forkthread2.patchhttps://bugs.python.org/file11379/forkthread2.patch
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
release-blockerhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22release-blocker%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.