summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-09-27 12:53:31 (GMT)
committerGitHub <noreply@github.com>2021-09-27 12:53:31 (GMT)
commitfae2694bea5e9e5a114af8cb40b60e7131a6340c (patch)
tree2a66968a084b4675c8b9a4f7bae27259dafc1e94 /Python
parentd452b2963ba91d6bce29bb96733ed8bd1c0448b0 (diff)
downloadcpython-fae2694bea5e9e5a114af8cb40b60e7131a6340c.zip
cpython-fae2694bea5e9e5a114af8cb40b60e7131a6340c.tar.gz
cpython-fae2694bea5e9e5a114af8cb40b60e7131a6340c.tar.bz2
bpo-45274: Fix Thread._wait_for_tstate_lock() race condition (GH-28532) (GH-28580)
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. (cherry picked from commit a22be4943c119fecf5433d999227ff78fc2e5741) Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions