]> granicus.if.org Git - python/commit
Issue #13156: _PyGILState_Reinit(): Re-associate the auto thread state with the
authorCharles-François Natali <neologix@free.fr>
Tue, 22 Nov 2011 18:49:51 +0000 (19:49 +0100)
committerCharles-François Natali <neologix@free.fr>
Tue, 22 Nov 2011 18:49:51 +0000 (19:49 +0100)
commita233df885b15ada37bb04e06aa465e8d4554b228
tree3ecfe5a6134ccc62830a49b1076bf64c188a8b02
parent3be00953b29b880c9924c3ccf05df0aef0f9ba30
Issue #13156: _PyGILState_Reinit(): Re-associate the auto thread state with the
TLS key only if the thread that called fork() had an associated auto thread
state (this might not be the case for example for a thread created outside of
Python calling into a subinterpreter).
Python/pystate.c