Multiprocessing: killing children when parent dies
Mihai Badoiu
mbadoiu at gmail.com
Fri Dec 2 10:05:49 EST 2011
In the multiprocessing module, on a Process p, by just doing p.daemon=1
before p.start(), we can make the child die when the parent exits.
However, the child does not die if the parent gets killed.
How can I make sure the child die when the parent gets killed?
thanks,
--mihai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20111202/a698cc84/attachment-0001.html>
More information about the Python-list
mailing list