[issue29759] Deadlock in multiprocessing.pool.Pool on terminate
Michael
report at bugs.python.org
Wed Jul 5 08:41:11 EDT 2017
Michael added the comment:
If `task_handler._state = TERMINATE` is done before call to _help_stuff_finish(), then the following loop `while task_handler.is_alive() and inqueue._reader.poll()` in that function won't work as `is_alive()` will obviously return False.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29759>
_______________________________________
More information about the Python-bugs-list
mailing list