Raymond Hettinger added the comment:

It is in-fact problem prone (and not just in Python).  The rule is "thread 
after you fork, not before".  Otherwise, the locks used by the thread executor 
will get duplicated across processes.  If one of those processes dies while it 
has the lock, all of the other processes using that lock will deadlock.

----------
nosy: +rhettinger

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27422>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to