SIGCHLD signal problem
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > SIGCHLD signal problem




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    SIGCHLD signal problem  
niraj.kumar.ait@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-29-05 12:53 PM

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






[ Post a follow-up to this message ]



    Re: SIGCHLD signal problem  
Michael Kerrisk


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-29-05 10: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





[ Post a follow-up to this message ]



    Re: SIGCHLD signal problem  
niraj.kumar.ait@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-30-05 07:54 AM

can i block stop signal(dont want to catch stop child  process)
without using sigaction.

Actually i m using sigwait ,sigset_t






[ Post a follow-up to this message ]



    Re: SIGCHLD signal problem  
loic-dev@gmx.net


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-30-05 12:49 PM

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.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:14 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register