◐ Shell
clean mode source ↗

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 gpshead deleted the logging_lock_36533 branch

May 7, 2019 16:18

gpshead added a commit to gpshead/cpython that referenced this pull request

May 7, 2019
)

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

May 7, 2019
…H-13170)

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>  [Google LLC]