Skip to content

gh-150902: Optimize PyCriticalSection2 to skip locking the same locks as the ones held by the current CS2#151085

Open
dpdani wants to merge 2 commits into
python:mainfrom
dpdani:gh/150902-pycs2-skip-recursive
Open

gh-150902: Optimize PyCriticalSection2 to skip locking the same locks as the ones held by the current CS2#151085
dpdani wants to merge 2 commits into
python:mainfrom
dpdani:gh/150902-pycs2-skip-recursive

Conversation

@dpdani
Copy link
Copy Markdown
Contributor

@dpdani dpdani commented Jun 8, 2026

This mimics an optimization already present for the single-mutex critical section.

…me locks as the ones held by the current CS2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant