[issue35608] python3 multiprocessing queue deadlock when use thread and process at same time

Antoine Pitrou report at bugs.python.org
Sat Dec 29 04:53:58 EST 2018


Antoine Pitrou <pitrou at free.fr> added the comment:

Your input_thread puts StopIteration once input the queue.  But there are several worker processes popping from that queue, and only one of them will see the StopIteration.  So I'm not surprised other worker processes would be stuck waiting in their loop.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35608>
_______________________________________


More information about the Python-bugs-list mailing list