> -----Original Message-----
> From: Ahmed Moustafa [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 14, 2002 11:45 AM
> To: Bob Showalter; 'Sudarshan Raghavan'; Perl beginners
> Subject: Re: How does ZOMBIE/defunct affect the system?
> 
> ...
> All I need to do is to reap the dead processes without 
> blocking the program.
> (Also I don't want to ignore the children with using $SIG{CHLD} =
> 'IGNORE';).
> 

Then you should call wait() inside a SIGCHLD handler. That's
what SIGCHLD is for. See the examples in perldoc perlipc.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to