-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix more KillableThread related race conditions. (#782)
These conditions include: * Killing a thread before the _thread_proc function runs, which prevents the killed state from being handled properly. * Killing a thread after the _thread_proc function ran, which prevents proper cleanup. This can also cause errors with garbage collection. * Killing threads while logging occurs can cause deadlocks if the log handler lock is left in a bad state. * Killing threads while in threading.getLogger can cause deadlocks if logging's module-level RLock is left in a bad state.
- Loading branch information
Showing
3 changed files
with
159 additions
and
33 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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