I gave this some thought. But since the child process doesn't know its child
process's pid, how could it kill the grandchild process?

ted

On 8/2/06 5:16 PM, "Joel Rees" <[EMAIL PROTECTED]> wrote:

> One way of seeing that the grandfather process can terminate
> grandchild processes is to have the child process catch the signal
> and kill, in turn, its own child processes, as part of its clean-up
> code before it dies. This means that you have to use a signal that
> can be recovered from when killing the child process.

Reply via email to