SIGN IN SIGN UP

Issue #23309: Avoid a deadlock at shutdown if a daemon thread is aborted

while it is holding a lock to a buffered I/O object, and the main thread
tries to use the same I/O object (typically stdout or stderr).  A fatal
error is emitted instead.
A
Antoine Pitrou committed
cb46f0ecb05ef3ccd3f53ced7f60748c0b3c710a