8000 [3.13] gh-122201: Lock mutex when setting handling_thread to NULL (GH-122204) by miss-islington · Pull Request #122319 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
8000

[3.13] gh-122201: Lock mutex when setting handling_thread to NULL (GH-122204) #122319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

miss-islington
Copy link
Contributor
@miss-islington miss-islington commented Jul 26, 2024

In the free-threaded build, we need to lock pending->mutex when clearing
the handling_thread in order not to race with a concurrent
make_pending_calls in the same interpreter.
(cherry picked from commit c557ae9)

Co-authored-by: Sam Gross colesbury@gmail.com

…honGH-122204)

In the free-threaded build, we need to lock pending->mutex when clearing
the handling_thread in order not to race with a concurrent
make_pending_calls in the same interpreter.
(cherry picked from commit c557ae9)

Co-authored-by: Sam Gross <colesbury@gmail.com>
@colesbury colesbury enabled auto-merge (squash) July 26, 2024 17:07
@colesbury colesbury merged commit 9d5dde5 into python:3.13 Jul 26, 2024
35 checks passed
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
0