Charles-François Natali <neolo...@free.fr> added the comment:

Some precisions:
1) Of course, if a handler changes its process group through setsid/setpgrp, it 
won't be waited on.
2) If a handler running on behalf of a process which is the current process 
group leader calls setsid, it will get an EPERM error.
I don't think anyone is using that, but I'd rather make it clear.
The only way I can think of to alleviate 2 would be to spawn a dummy process 
that would just be used as process group leader (and since it would keep 
running, no need to re-allocate a new PGID when worker processes exit).

----------

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

Reply via email to