]> granicus.if.org Git - python/commit
bpo-30395 _PyGILState_Reinit deadlock fix (#1734)
authorJason Fried <me@jasonfried.info>
Mon, 22 May 2017 23:58:55 +0000 (16:58 -0700)
committerŁukasz Langa <lukasz@langa.pl>
Mon, 22 May 2017 23:58:55 +0000 (16:58 -0700)
commitf82c951d1c5416f3550d544e50ff5662d3836e73
tree3eece5da20e79b1c3376d0186dda931a9951c515
parent1b9530c536664276ce866ae602ce04adce0810e1
bpo-30395 _PyGILState_Reinit deadlock fix (#1734)

head_lock could be held by another thread when fork happened. We should
reset it to avoid deadlock.
Misc/ACKS
Python/pystate.c