Skip to content

[3.14] gh-150902: Optimize PyCriticalSection2 to skip locking the same locks held by the current CS2#151555

Open
miss-islington wants to merge 1 commit into
python:3.14from
miss-islington:backport-c2ca772-3.14
Open

[3.14] gh-150902: Optimize PyCriticalSection2 to skip locking the same locks held by the current CS2#151555
miss-islington wants to merge 1 commit into
python:3.14from
miss-islington:backport-c2ca772-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

This mimics an optimization already present for the single-mutex critical section.
(cherry picked from commit c2ca772)

Co-authored-by: Daniele Parmeggiani 8658291+dpdani@users.noreply.github.com

… locks held by the current CS2

This mimics an optimization already present for the single-mutex critical section.
(cherry picked from commit c2ca772)

Co-authored-by: Daniele Parmeggiani <8658291+dpdani@users.noreply.github.com>
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.

2 participants