Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - problem with Wait function: (2 Items)
   
problem with Wait function  
HI ,,
I am trying to use the wait() call to identify the process
termination...


I still face a few problems with wait() .

My wait always return immediately with -1 error..
I verified that the child process are running.
Verified the status variable is proper..
I gave SIG_IGN to all the signals except the SIGCHLD..
 
What else could be the reason.


Best Regards,
Prabhath Krishnamoorthy
Services SS,Audio-2,
VTSC, India. phone: 91 44 6617 7724

RE: problem with Wait function  
Please examine the value of the  errno  variable when the  wait() 
function has failed. Look it up in  /usr/include/errno.h  or post 
it here.

- Thomas

> -----Original Message-----
> From: prabhath krishnamoorthy [mailto:community-noreply@qnx.com] 
> Sent: 19 December 2008 11:49
> To: general-bazaar
> Subject: problem with Wait function
> 
> HI ,,
> I am trying to use the wait() call to identify the process 
> termination...
> 
> 
> I still face a few problems with wait() .
> 
> My wait always return immediately with -1 error..
> I verified that the child process are running.
> Verified the status variable is proper..
> I gave SIG_IGN to all the signals except the SIGCHLD..
>  
> What else could be the reason.
> 
> 
> Best Regards,
> Prabhath Krishnamoorthy
> Services SS,Audio-2,
> VTSC, India. phone: 91 44 6617 7724
> 
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post19019
> 
>