Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.9] gh-112275: Fix HEAD_LOCK deadlock in child process after fork (GH-112336) #123688

Merged
merged 1 commit into from
Sep 4, 2024

Commits on Sep 4, 2024

  1. [3.9] [3.11]pythonGH-112275: Fix HEAD_LOCK deadlock in child process …

    …after fork (pythonGH-112336)
    
    HEAD_LOCK is called from _PyEval_ReInitThreads->_PyThreadState_DeleteExcept before _PyRuntimeState_ReInitThreads reinit runtime->interpreters.mutex which might be locked before fork.
    
    (cherry picked from commit 522799a)
    
    Co-authored-by: ChuBoning <[email protected]>
    Co-authored-by: Łukasz Langa <[email protected]>
    ChuBoning and ambv committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    48c606a View commit details
    Browse the repository at this point in the history