bpo-45274: Fix one race condition Thread.join by bensimner · Pull Request #31290 · python/cpython
If the tstate lock acquire() fails, the tstate lock might still be locked, and the thread still running.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters