[issue4293] Thread Safe Py_AddPendingCall

Kristján Valur Jónsson report at bugs.python.org
Mon Nov 17 17:19:31 CET 2008


Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:

I had forgotten that locks aren't initialized until PyEval_InitThreads
() is called.  Now we check for this case.  Also reinitialize when fork
() is called.
Is there any suggested place where I should add documentation to this?

Added file: http://bugs.python.org/file12032/pendingalls.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4293>
_______________________________________


More information about the Python-bugs-list mailing list