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.
S
Sam Gross committed
b2c3b70c7102197e4505e6cd69722dc508527d22
Parent: 4a1cf66
Committed by GitHub <[email protected]>
on 4/30/2024, 7:01:28 PM