Skip to content

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

Merged
colesbury merged 1 commit into
python:3.13from
miss-islington:backport-c557ae9-3.13
Jul 26, 2024
Merged

[3.13] gh-122201: Lock mutex when setting handling_thread to NULL (GH-122204)#122319
colesbury merged 1 commit into
python:3.13from
miss-islington:backport-c557ae9-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 26, 2024

Copy link
Copy Markdown
Contributor

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>
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