| Author |
SIGCHLD signal problem
|
|
| niraj.kumar.ait@gmail.com 2005-06-29, 7:53 am |
| How can I ensure that my program generate SIGCHLD signal only in case
child process terminate .(not in case when child process stop). Is
there any other way to deal with this problem.
TIA
niraj
| |
| Michael Kerrisk 2005-06-29, 5:53 pm |
| On 29 Jun 2005 05:00:09 -0700, niraj.kumar.ait@gmail.com wrote:
>How can I ensure that my program generate SIGCHLD signal only in case
>child process terminate .(not in case when child process stop). Is
>there any other way to deal with this problem.
man sigaction
Look at SA_NOCLDSTOP.
Cheers,
Michael
| |
| niraj.kumar.ait@gmail.com 2005-06-30, 2:54 am |
| can i block stop signal(dont want to catch stop child process)
without using sigaction.
Actually i m using sigwait ,sigset_t
| |
| loic-dev@gmx.net 2005-06-30, 7:49 am |
| Hello Niraj,
> can i block stop signal(dont want to catch stop child process)
> without using sigaction.
SIGSTOP like SIGKILL can't be caught.
Cheers,
Loic.
|
|
|
|