summaryrefslogtreecommitdiffstats
path: root/Python/clinic/Python-tokenize.c.h
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-04-30 19:01:28 (GMT)
committerGitHub <noreply@github.com>2024-04-30 19:01:28 (GMT)
commitb2c3b70c7102197e4505e6cd69722dc508527d22 (patch)
tree6b910d740f1e3d8d3af38a487d787b3267ebff68 /Python/clinic/Python-tokenize.c.h
parent4a1cf66c5c0afa36d7a51d5f9d3874cda10df79c (diff)
downloadcpython-b2c3b70c7102197e4505e6cd69722dc508527d22.zip
cpython-b2c3b70c7102197e4505e6cd69722dc508527d22.tar.gz
cpython-b2c3b70c7102197e4505e6cd69722dc508527d22.tar.bz2
gh-118332: Fix deadlock involving stop the world (#118412)
Avoid detaching thread state when stopping the world. When re-attaching the thread state, the thread would attempt to resume the top-most critical section, which might now be held by a thread paused for our stop-the-world request.
Diffstat (limited to 'Python/clinic/Python-tokenize.c.h')
0 files changed, 0 insertions, 0 deletions