[issue20319] concurrent.futures.wait() can block forever even if Futures have completed

Glenn Langford report at bugs.python.org
Tue Jun 3 16:06:44 CEST 2014


Glenn Langford added the comment:

> My workload is launching two subprocess in parallel, and whenever one is ready, launches another one.

Since you have timeout=15.0, wait() should return at least every 15s. Can you determine if the wait is being repeatedly called in the while loop, and if so what Futures it is waiting on? In other words, is wait() being called continuously, or is wait() called and never returns?

----------

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


More information about the Python-bugs-list mailing list