[New-bugs-announce] [issue30975] Multiprocessing: Event.set() blocks indefinitely if a process waiting on it has died.

Mick Phillips report at bugs.python.org
Thu Jul 20 07:29:48 EDT 2017


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 <report at bugs.python.org>
<http://bugs.python.org/issue30975>
_______________________________________


More information about the New-bugs-announce mailing list