summaryrefslogtreecommitdiffstats
path: root/Python/optimizer_cases.c.h
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-07-26 17:06:07 (GMT)
committerGitHub <noreply@github.com>2024-07-26 17:06:07 (GMT)
commitc557ae97d6bd9d04164a19b4fe136610e54dbdd8 (patch)
tree918333ecf6b8ef6758c1a6b1c73c00a0e86a045b /Python/optimizer_cases.c.h
parent64857d849f3079a73367525ce93fd7a463b83908 (diff)
downloadcpython-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/optimizer_cases.c.h')
0 files changed, 0 insertions, 0 deletions