diff options
author | Victor Stinner <vstinner@python.org> | 2021-09-27 12:20:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-27 12:20:31 (GMT) |
commit | a22be4943c119fecf5433d999227ff78fc2e5741 (patch) | |
tree | 061ad7b75596c8471cd94815db0240b4b17d1259 /Python/preconfig.c | |
parent | 7b88f63e1dd4006b1a08b9c9f087dd13449ecc76 (diff) | |
download | cpython-a22be4943c119fecf5433d999227ff78fc2e5741.zip cpython-a22be4943c119fecf5433d999227ff78fc2e5741.tar.gz cpython-a22be4943c119fecf5433d999227ff78fc2e5741.tar.bz2 |
bpo-45274: Fix Thread._wait_for_tstate_lock() race condition (GH-28532)
Fix a race condition in the Thread.join() method of the threading
module. If the function is interrupted by a signal and the signal
handler raises an exception, make sure that the thread remains in a
consistent state to prevent a deadlock.
Diffstat (limited to 'Python/preconfig.c')
0 files changed, 0 insertions, 0 deletions