[issue1856] shutdown (exit) can hang or segfault with daemon threads running

Amaury Forgeot d'Arc report at bugs.python.org
Thu Jan 17 23:39:22 CET 2008


Amaury Forgeot d'Arc added the comment:

> PyGILState_Ensure would still be broken.  
> It touches various things that get torn down (autoInterpreterState,
> autoTLSkey, and the HEAD_LOCK macros) before it grabs the GIL.
> Reordering should be possible of course.

Adam, did you notice the change on revision 59231 ? the
PyGILState_Ensure stuff should now remain valid during the
PyInterpreterState_Clear() call.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1856>
__________________________________


More information about the Python-bugs-list mailing list