[issue6643] joining a child that forks can deadlock in the forked child process

Reid Kleckner 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>
<http://bugs.python.org/issue6643>
_______________________________________


More information about the Python-bugs-list mailing list