[issue35493] multiprocessing.Pool._worker_handler(): use SIGCHLD to be notified on worker exit
Antoine Pitrou
report at bugs.python.org
Fri Dec 14 07:08:59 EST 2018
Antoine Pitrou <pitrou at free.fr> added the comment:
> I have to investigate how Process.sentinel can be used here.
Look how concurrent.futures uses it:
https://github.com/python/cpython/blob/master/Lib/concurrent/futures/process.py#L348
This also means:
1) we could redirect people to ProcessPoolExecutor instead of trying to backport all its features into multiprocessing.Pool
2) we could try to refactor the ProcessPoolExecutor implementation into a common backend for both ProcessPoolExecutor and multiprocessing.Pool
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35493>
_______________________________________
More information about the Python-bugs-list
mailing list