[issue5906] Risk of confusion in multiprocessing module - daemonic processes

Eryk Sun report at bugs.python.org
Sat Apr 1 22:29:45 EDT 2017


Eryk Sun added the comment:

> e.g., a Pool worker dies with an assert(!) error if it tries to create 
> its own Pool for something

A daemon process could create a child daemon when the OS can ensure that no orphans are left behind (e.g. call Linux prctl to set PR_SET_PDEATHSIG as SIGKILL). This would allow a pool worker to create another process pool.

----------

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


More information about the Python-bugs-list mailing list