At 03:57 PM 5/5/99 -0500, Fred Lindberg wrote:
[...]
>Would it be more correct for qmail-send to kill it's children upon
>receiving sigterm?

I now use qmail-remote directly in some of my programs and it is exactely
the way I do it: the programs catch the TERM signal, kill() all children
and wait().

However, as I said before, qmail-send already catches TERM and waits (not
the wait() system call, just plain english wait) for qmail-remote to
finish. Note that qmail-send does not need to wait() for them because it
has open pipes to them and gets status messages directly through these pipes.

David.

Reply via email to