[issue6721] Locks in python standard library should be sanitized on fork
report at bugs.python.org
Thu Jun 30 17:10:11 CEST 2011
Nir Aides <nir at winpdb.org> added the comment:
> I believe that the comp.programming.threads post from
> David Butenhof linked above explains why adding atfork()
> handlers isn't going to solve this.
In Python atfork() handlers will never run from signal handlers, and if I understood correctly, Charles-François described a way to "re-initialize" a Python lock safely under that assumption.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list