Antoine Pitrou added the comment:

As a matter of fact, the bug is in Condition (which is used by Event.wait() but 
not by Event.is_set(), hence your workaround).  Here is a reproducer script.

This looks like a hard issue to solve.  There is no way to know whether a 
process that used to be waiting for a Condition was killed.

----------
title: Multiprocessing: Event.set() blocks indefinitely if a process waiting on 
it has died. -> multiprocessing.Condition.notify_all() blocks indefinitely if a 
process waiting on it has died
Added file: http://bugs.python.org/file47027/WaitersSleepers.py

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

Reply via email to