[issue874900] threading module can deadlock after fork

Amaury Forgeot d'Arc report at bugs.python.org
Fri Jul 11 15:08:06 CEST 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

I agree. My attempt to describe the behaviour of fork+threads in a
platform-independent test is another issue.

Just one more thing: looking at Module/posixmodule.c, os.fork1() calls
PyOS_AfterFork() in both parent and child processes. Is there a "if (pid
== 0)" test missing, just like os.fork()?

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


More information about the Python-bugs-list mailing list