diff options
author | Sam Gross <colesbury@gmail.com> | 2024-07-26 17:06:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-26 17:06:07 (GMT) |
commit | c557ae97d6bd9d04164a19b4fe136610e54dbdd8 (patch) | |
tree | 918333ecf6b8ef6758c1a6b1c73c00a0e86a045b /Python/errors.c | |
parent | 64857d849f3079a73367525ce93fd7a463b83908 (diff) | |
download | cpython-c557ae97d6bd9d04164a19b4fe136610e54dbdd8.zip cpython-c557ae97d6bd9d04164a19b4fe136610e54dbdd8.tar.gz cpython-c557ae97d6bd9d04164a19b4fe136610e54dbdd8.tar.bz2 |
gh-122201: Lock mutex when setting handling_thread to NULL (#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.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions