mirror of
https://github.com/python/cpython.git
synced 2026-08-11 16:28:53 +08:00
The PyMutex implementation supports unlocking after fork because we clear the list of waiters in parking_lot.c. This doesn't work as well for _PyRecursiveMutex because on some systems, such as SerenityOS, the thread id is not preserved across fork().
Miscellaneous source files for the main Python shared library