[3.12] gh-104341: Call _PyEval_ReleaseLock() with NULL When Finalizing the Current Thread (gh-105109) by miss-islington · Pull Request #105209 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Merged
merged 1 commit into
Conversation
Contributor
This avoids the problematic race in drop_gil() by skipping the FORCE_SWITCHING code there for finalizing threads.
(The idea for this approach came out of discussions with @markshannon.)
(cherry picked from commit 3698fda)
Co-authored-by: Eric Snow ericsnowcurrently@gmail.com
… the Current Thread (pythongh-105109) This avoids the problematic race in drop_gil() by skipping the FORCE_SWITCHING code there for finalizing threads. (The idea for this approach came out of discussions with @markshannon.) (cherry picked from commit 3698fda) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
bedevere-bot
added
the
awaiting review
label
This was referenced
bedevere-bot
added
the
skip news
label
ericsnowcurrently
enabled auto-merge (squash)
ericsnowcurrently
merged commit
d2be5c7
into
python:3.12
bedevere-bot
removed
the
awaiting review
label
miss-islington
deleted the
backport-3698fda-3.12
branch
erlend-aasland
mentioned this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment