[issue14406] Race condition in concurrent.futures

Matt Joiner report at bugs.python.org
Sun Mar 25 20:36:44 CEST 2012


New submission from Matt Joiner <anacrolix at gmail.com>:

There's a race condition in concurrent.futures in _AllCompletedWaiter, which affects wait(return_when=ALL_COMPLETED).

The attached test will go into an infinite wait.

----------
components: Library (Lib)
files: concurrent.futures._AllCompletedWaiter-race-condition-test.py
messages: 156764
nosy: anacrolix
priority: normal
severity: normal
status: open
title: Race condition in concurrent.futures
type: behavior
versions: Python 3.2, Python 3.3
Added file: http://bugs.python.org/file25019/concurrent.futures._AllCompletedWaiter-race-condition-test.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14406>
_______________________________________


More information about the Python-bugs-list mailing list