New submission from Mick Phillips:

If a process was waiting on an Event but dies for some reason, nothing else can 
set the Event. I think the Event._cond lock can not be acquired. See attached 
for a demonstration.

I see the same behaviour in Python 2.7.5 and Python 3.5.2. Is this expected 
behaviour?

----------
components: Windows
files: WaitersSleepers.py
messages: 298713
nosy: Mick Phillips, davin, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Multiprocessing: Event.set() blocks indefinitely if a process waiting on 
it has died.
type: behavior
versions: Python 2.7, Python 3.5
Added file: http://bugs.python.org/file47025/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