bpo-36533: Reinit logging.Handler locks on fork(). by gpshead · Pull Request #12704 · python/cpython
Instead of attempting to acquire and release them all across fork which was leading to deadlocks in some applications that had chained their own handlers while holding multiple locks.
gpshead
deleted the
logging_lock_36533
branch
gpshead added a commit to gpshead/cpython that referenced this pull request
) Instead of attempting to acquire and release them all across fork which was leading to deadlocks in some applications that had chained their own handlers while holding multiple locks. (cherry picked from commit 64aa6d2) Co-authored-by: Gregory P. Smith <greg@krypto.org>
gpshead added a commit that referenced this pull request
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