[issue6721] Locks in the standard library should be sanitized on fork

Gregory P. Smith report at bugs.python.org
Fri Jul 8 23:19:21 EDT 2016


Gregory P. Smith added the comment:

For me the momentum on fixing these things has stalled because I no longer work on any code that runs into this.  There is a fundamental problem: You cannot safely use threading and os.fork() in the same application per POSIX rules.  So even if the standard library and interpreter to tried to force its locks into some sort of consistent state post os.fork(), the much more fundamental POSIX problem remains.

IMNSHO, working on "fixes" for this issue while ignoring the larger application design flaw elephant in the room doesn't make a lot of sense.

----------

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


More information about the Python-bugs-list mailing list