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

Charles-François Natali report at bugs.python.org
Fri Jul 1 17:23:47 CEST 2011


Charles-François Natali <neologix at free.fr> added the comment:

> Well, I ping my view that we should:
>

Could you please detail the following points:
- what would be the API of this atfork() mechanism (with an example of
how it would be used in the library)?
- how do you find the correct order to acquire locks in the parent process?
- what do you do with locks that can be held for arbitrarily long
(e.g. I/O locks)?

----------

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


More information about the Python-bugs-list mailing list