in reply to fork()ing a large process
For the proper way to reap children, consult perlman:perlipc. The section on "Signals" is near the top of the document, and describes how to set up a SIGCHLD handler to correctly account for the death of a child process.
If you don't handle SIGCHLD correctly, you could be getting blocked on wait().
|
---|
Replies are listed 'Best First'. | |
---|---|
(tye)Re: fork()ing a large process
by tye (Sage) on Nov 29, 2001 at 22:34 UTC | |
by Jonathan (Curate) on Nov 29, 2001 at 22:47 UTC |