René's URL Explorer Experiment


Title: gh-144513: Skip critical section locking during stop-the-world by colesbury · Pull Request #144524 · python/cpython · GitHub

Open Graph Title: gh-144513: Skip critical section locking during stop-the-world by colesbury · Pull Request #144524 · python/cpython

X Title: gh-144513: Skip critical section locking during stop-the-world by colesbury · Pull Request #144524 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: When the interpreter is in a stop-the-world pause, critical sections don't need to acquire locks since no other threads can be running. This avoids a potential deadlock where lock fairness hand...

X Description: When the interpreter is in a stop-the-world pause, critical sections don't need to acquire locks since no other threads can be running. This avoids a potential deadlock where lock fairness ...

Opengraph URL: https://github.com/python/cpython/pull/144524

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f1b039b4-2790-dd31-b734-414ffaed3a02
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCC8A:CC1A4:3CA9444:4D22D2A:6B0206CF
html-safe-nonce2ff89b3f449f1ac392ab9ad10ac049c80a2f86273085a916fb1842231420c4cd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzhBOkNDMUE0OjNDQTk0NDQ6NEQyMkQyQTo2QjAyMDZDRiIsInZpc2l0b3JfaWQiOiIxNTQwNTM4MTE3MjczMDI4MzAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac74feb95995ad4b3a8356e1cb8061b2e99c7de1b74f97e2ae473de848990168b9
hovercard-subject-tagpull_request:3251456920
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/144524/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/435fe4efc2f116d461edeb6fca99f6ed1355716ceda7290db13016413d8b6b57/python/cpython/pull/144524
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/435fe4efc2f116d461edeb6fca99f6ed1355716ceda7290db13016413d8b6b57/python/cpython/pull/144524
og:image:altWhen the interpreter is in a stop-the-world pause, critical sections don't need to acquire locks since no other threads can be running. This avoids a potential deadlock where lock fairness hand...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecolesbury
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/144524#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F144524
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F144524
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/144524
Reloadhttps://github.com/python/cpython/pull/144524
Reloadhttps://github.com/python/cpython/pull/144524
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
colesburyhttps://github.com/colesbury
python:mainhttps://github.com/python/cpython/tree/main
colesbury:gh-144513-critical-section-stwhttps://github.com/colesbury/cpython/tree/gh-144513-critical-section-stw
Conversationhttps://github.com/python/cpython/pull/144524
Commits3 (3)https://github.com/python/cpython/pull/144524/commits
Checkshttps://github.com/python/cpython/pull/144524/checks
Files changedhttps://github.com/python/cpython/pull/144524/files
gh-144513: Skip critical section locking during stop-the-worldhttps://github.com/python/cpython/pull/144524#top
colesburyhttps://github.com/colesbury
python:mainhttps://github.com/python/cpython/tree/main
colesbury:gh-144513-critical-section-stwhttps://github.com/colesbury/cpython/tree/gh-144513-critical-section-stw
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Feb 5, 2026https://github.com/python/cpython/pull/144524#issue-3903001559
Please reload this pagehttps://github.com/python/cpython/pull/144524
Improve critical sections and stop-the-world interoperability #144513https://github.com/python/cpython/issues/144513
Please reload this pagehttps://github.com/python/cpython/pull/144524
https://github.com/colesbury
pythongh-144513https://github.com/python/cpython/issues/144513
: Skip critical section locking during stop-the-worldhttps://github.com/python/cpython/pull/144524/commits/db08ab1cdc679dca2aa30ab59cfab8548c8cf489
db08ab1https://github.com/python/cpython/pull/144524/commits/db08ab1cdc679dca2aa30ab59cfab8548c8cf489
https://github.com/colesbury
colesburyhttps://github.com/colesbury
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
Feb 5, 2026https://github.com/python/cpython/pull/144524#event-22567515611
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 5, 2026 https://github.com/python/cpython/pull/144524#ref-issue-3902493264
Improve critical sections and stop-the-world interoperability #144513 https://github.com/python/cpython/issues/144513
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Feb 5, 2026https://github.com/python/cpython/pull/144524#issuecomment-3855510900
Please reload this pagehttps://github.com/python/cpython/pull/144524
https://github.com/colesbury
colesburyhttps://github.com/colesbury
February 5, 2026 18:45https://github.com/python/cpython/pull/144524#event-22567567886
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Feb 5, 2026https://github.com/python/cpython/pull/144524#event-22567569237
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Yhg1shttps://github.com/Yhg1s
mpagehttps://github.com/mpage
February 5, 2026 18:46https://github.com/python/cpython/pull/144524#event-22567570703
https://github.com/colesbury
Fix MSVC buildhttps://github.com/python/cpython/pull/144524/commits/ba18b6860a354a13fb52541a08454c98173788d1
ba18b68https://github.com/python/cpython/pull/144524/commits/ba18b6860a354a13fb52541a08454c98173788d1
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
Feb 6, 2026 https://github.com/python/cpython/pull/144524#pullrequestreview-3760274185
View reviewed changes https://github.com/python/cpython/pull/144524/files/ba18b6860a354a13fb52541a08454c98173788d1
Python/critical_section.chttps://github.com/python/cpython/pull/144524/files/ba18b6860a354a13fb52541a08454c98173788d1#diff-c66c2b2954abc99cf6954a83564904dcecf9ea2f44f8a032f246861875041ff9
Yhg1shttps://github.com/Yhg1s
Feb 6, 2026https://github.com/python/cpython/pull/144524#discussion_r2771853968
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/144524
colesburyhttps://github.com/colesbury
Feb 6, 2026https://github.com/python/cpython/pull/144524#discussion_r2771950022
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/144524
colesburyhttps://github.com/colesbury
Feb 6, 2026https://github.com/python/cpython/pull/144524#discussion_r2771952389
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/144524
Modules/_testinternalcapi/test_critical_sections.chttps://github.com/python/cpython/pull/144524/files/ba18b6860a354a13fb52541a08454c98173788d1#diff-902110173393c3f9b7f311a058506a57b9c77fb0c1cb853aeb63ad19d53479a9
Yhg1shttps://github.com/Yhg1s
Feb 6, 2026https://github.com/python/cpython/pull/144524#discussion_r2771857763
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/144524
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Feb 6, 2026https://github.com/python/cpython/pull/144524#event-22575733196
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Feb 6, 2026 https://github.com/python/cpython/pull/144524#pullrequestreview-3763044829
View reviewed changes https://github.com/python/cpython/pull/144524/files/ba18b6860a354a13fb52541a08454c98173788d1
Python/critical_section.chttps://github.com/python/cpython/pull/144524/files/ba18b6860a354a13fb52541a08454c98173788d1#diff-c66c2b2954abc99cf6954a83564904dcecf9ea2f44f8a032f246861875041ff9
Please reload this pagehttps://github.com/python/cpython/pull/144524
https://github.com/colesbury
Update commentshttps://github.com/python/cpython/pull/144524/commits/5e62d5b92e11edd213b55cf7f2d592a0ec90aa27
5e62d5bhttps://github.com/python/cpython/pull/144524/commits/5e62d5b92e11edd213b55cf7f2d592a0ec90aa27
https://github.com/colesbury
colesburyhttps://github.com/colesbury
February 6, 2026 14:53https://github.com/python/cpython/pull/144524#event-22591772775
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Feb 6, 2026 https://github.com/python/cpython/pull/144524#pullrequestreview-3763605522
View reviewed changes https://github.com/python/cpython/pull/144524/files/5e62d5b92e11edd213b55cf7f2d592a0ec90aa27
https://github.com/colesbury
colesburyhttps://github.com/colesbury
0fdf6a9https://github.com/python/cpython/commit/0fdf6a9a71f9b3c9adc0406542902e028431e7ca
Feb 6, 2026https://github.com/python/cpython/pull/144524#event-22592295761
Please reload this pagehttps://github.com/python/cpython/pull/144524
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Feb 6, 2026https://github.com/python/cpython/pull/144524#event-22592298476
thunder-codinghttps://github.com/thunder-coding
Feb 15, 2026 https://github.com/python/cpython/pull/144524#ref-commit-7a8bb07
https://github.com/colesbury
https://github.com/thunder-coding
pythongh-144513https://github.com/python/cpython/issues/144513
: Skip critical section locking during stop-the-world (https://github.com/thunder-coding/cpython/commit/7a8bb078add42faa46e1a6f62537c409bd6cda02
p…https://github.com/python/cpython/pull/144524
7a8bb07https://github.com/thunder-coding/cpython/commit/7a8bb078add42faa46e1a6f62537c409bd6cda02
…ythongh-144524https://github.com/python/cpython/pull/144524
https://github.com/colesbury
colesburyhttps://github.com/colesbury
February 20, 2026 14:51https://github.com/python/cpython/pull/144524#event-22950969690
https://github.com/colesbury
colesburyhttps://github.com/colesbury
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Mar 5, 2026https://github.com/python/cpython/pull/144524#event-23310741406
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Mar 5, 2026https://github.com/python/cpython/pull/144524#issuecomment-4007566428
@colesburyhttps://github.com/colesbury
Please reload this pagehttps://github.com/python/cpython/pull/144524
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Mar 5, 2026https://github.com/python/cpython/pull/144524#issuecomment-4007566749
@colesburyhttps://github.com/colesbury
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/144524
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
colesburyhttps://github.com/colesbury
Mar 5, 2026https://github.com/python/cpython/pull/144524#event-23310745059
colesburyhttps://github.com/colesbury
Mar 5, 2026 https://github.com/python/cpython/pull/144524#ref-commit-17a8e1a
https://github.com/colesbury
pythongh-144513https://github.com/python/cpython/issues/144513
: Skip critical section locking during stop-the-world (https://github.com/colesbury/cpython/commit/17a8e1a14c0d6da37bccf9c6abfc69e7ba57fb12
p…https://github.com/python/cpython/pull/144524
17a8e1ahttps://github.com/colesbury/cpython/commit/17a8e1a14c0d6da37bccf9c6abfc69e7ba57fb12
…ythongh-144524https://github.com/python/cpython/pull/144524
colesburyhttps://github.com/colesbury
Mar 5, 2026 https://github.com/python/cpython/pull/144524#ref-commit-c137691
https://github.com/colesbury
[3.14]https://github.com/colesbury/cpython/commit/c137691aa0432177ef581a1ff807b3d14d796dda
pythongh-144513https://github.com/python/cpython/issues/144513
: Skip critical section locking during stop-the…https://github.com/colesbury/cpython/commit/c137691aa0432177ef581a1ff807b3d14d796dda
c137691https://github.com/colesbury/cpython/commit/c137691aa0432177ef581a1ff807b3d14d796dda
pythongh-144524https://github.com/python/cpython/pull/144524
0fdf6a9https://github.com/colesbury/cpython/commit/0fdf6a9a71f9b3c9adc0406542902e028431e7ca
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 5, 2026https://github.com/python/cpython/pull/144524#issuecomment-4007701498
GH-145570https://github.com/python/cpython/pull/145570
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/144524
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Mar 5, 2026https://github.com/python/cpython/pull/144524#event-23311349278
colesburyhttps://github.com/colesbury
Mar 6, 2026 https://github.com/python/cpython/pull/144524#ref-commit-7b9508f
https://github.com/colesbury
[3.14]https://github.com/python/cpython/commit/7b9508f4b055c76e301d12eba6ec84fde9d5f6d3
gh-144513https://github.com/python/cpython/issues/144513
: Skip critical section locking during stop-the-world (https://github.com/python/cpython/commit/7b9508f4b055c76e301d12eba6ec84fde9d5f6d3
…https://github.com/python/cpython/pull/144524
7b9508fhttps://github.com/python/cpython/commit/7b9508f4b055c76e301d12eba6ec84fde9d5f6d3
…gh-144524https://github.com/python/cpython/pull/144524
#145570https://github.com/python/cpython/pull/145570
ljfphttps://github.com/ljfp
Apr 25, 2026 https://github.com/python/cpython/pull/144524#ref-commit-d1c7443
https://github.com/colesbury
https://github.com/ljfp
pythongh-144513https://github.com/python/cpython/issues/144513
: Skip critical section locking during stop-the-world (https://github.com/ljfp/cpython/commit/d1c74437df5450997b7f0f0b2873d487bee30a4f
p…https://github.com/python/cpython/pull/144524
d1c7443https://github.com/ljfp/cpython/commit/d1c74437df5450997b7f0f0b2873d487bee30a4f
…ythongh-144524https://github.com/python/cpython/pull/144524
https://github.com/maikschulze
maikschulzehttps://github.com/maikschulze
Nov 16, 2026 https://github.com/python/cpython/pull/144524#ref-issue-6416676204
Free-threaded build: a two-object critical section that begins during a stop-the-world can leave its first mutex locked #162087 https://github.com/python/cpython/issues/162087
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F144524
https://github.com/Yhg1s
Yhg1s https://github.com/Yhg1s
https://github.com/python/cpython/pull/144524/files/ba18b6860a354a13fb52541a08454c98173788d1
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/python/cpython/pull/144524/files/5e62d5b92e11edd213b55cf7f2d592a0ec90aa27
https://github.com/mpage
mpage https://github.com/mpage
Please reload this pagehttps://github.com/python/cpython/pull/144524
https://github.com/colesbury
colesbury https://github.com/colesbury
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
Please reload this pagehttps://github.com/python/cpython/pull/144524
https://github.com/colesbury
https://github.com/Yhg1s
https://github.com/kumaraditya303
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.