[issue6643] joining a child that forks can deadlock in the forked child process
report at bugs.python.org
Sat Jul 10 22:39:03 CEST 2010
Reid Kleckner <rnk at mit.edu> added the comment:
I realized that in a later fix for unladen-swallow, we also cleared the condition variable waiters list, since it has radioactive synchronization primitives in it as well.
Here's an updated patch that simplifies the fix by just using __init__() to completely reinitialize the condition variables and adds a test.
This corresponds to unladen-swallow revisions r799 and r834.
Added file: http://bugs.python.org/file17936/thread-fork-join.diff
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list