diff options
author | Sam Gross <colesbury@gmail.com> | 2024-11-12 20:53:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 20:53:58 (GMT) |
commit | 5610860840aa71b186fc5639211dd268b817d65f (patch) | |
tree | f6a3b5ad6413f6e0091222ad2bcdf07252b4ed54 /Objects/fileobject.c | |
parent | bf224bd7cef5d24eaff35945ebe7ffe14df7710f (diff) | |
download | cpython-5610860840aa71b186fc5639211dd268b817d65f.zip cpython-5610860840aa71b186fc5639211dd268b817d65f.tar.gz cpython-5610860840aa71b186fc5639211dd268b817d65f.tar.bz2 |
gh-126688: Reinit import lock after fork (#126692)
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().
Diffstat (limited to 'Objects/fileobject.c')
0 files changed, 0 insertions, 0 deletions