Please sign in to comment.
Docment that waitpid() calls interfere with sig_child().
Programs that reap their own child processes AND use sig_child() to watch for those processes MUST call sig_child($pid, undef) to clear the watchers. sig_child() only notifies programs after some event loop reaps the process. If an application reaps it first, POE may never know the child went away.
- Loading branch information...