STINNER Victor <vstin...@redhat.com> added the comment:

_worker_handler has two issues:

* It polls the worker status every status every 100 ms: I created bpo-35493 to 
investigate how to avoid that
* After close() or terminate() has been called, it loops until self._cache is 
empty. I would like to use result.wait(), but a result never completes after 
terminate(): I created bpo-35478 to see if tasks can be unblocked in that case 
(to ensure that result.wait() completes after terminate().

----------
dependencies: +multiprocessing.Pool._worker_handler(): use SIGCHLD to be 
notified on worker exit, multiprocessing: ApplyResult.get() hangs if the pool 
is terminated

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35479>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to