[issue6721] Locks in python standard library should be sanitized on fork
Antoine Pitrou
report at bugs.python.org
Thu Oct 15 20:15:52 CEST 2009
Antoine Pitrou <pitrou at free.fr> added the comment:
Rather than having a kind of global module registry, locks could keep
track of what was the last PID, and reinitialize themselves if it changed.
This is assuming getpid() is fast :-)
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6721>
_______________________________________
More information about the Python-bugs-list
mailing list