commit | b49858b4b7b4c9d85ef6946ad020f83e4fa1caa7 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Fri May 24 15:20:23 2019 +0200 |
committer | GitHub <noreply@github.com> | Fri May 24 15:20:23 2019 +0200 |
tree | 00d448bec735ee1de48c9cf5ab88ea1720d8f4ae | |
parent | b3a9843cd19039808a812ca11206881c94c64e3b [diff] |
bpo-37031: Fix PyOS_AfterFork_Child() (GH-13537) PyOS_AfterFork_Child(): _PyInterpreterState_DeleteExceptMain() must be called after _PyRuntimeState_ReInitThreads(). _PyRuntimeState_ReInitThreads() resets interpreters mutex after fork, mutex used by _PyInterpreterState_DeleteExceptMain().