in reply to Re: Don't wait: waitpid. Why?
in thread Run N similar tasks in parallel

No, I often want to wait for any currently dead kids, not all kids whether they are dead at the moment or not, like in the top loop of a main event handler.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.