The one thing I like more about Parallel::ForkManager is $pm->wait_all_children; - the ability to wait on all the children via a single method call.
The Proc::Fork docs show a call to waitpid but it is not clear how to wait on all children, ignoring those who have died. How would such a function be written? UPDATE The important variation on wait_all_children for my purposes is non-blocking wait: if one of the children dies, then that is perfectly fine. But we wait on those that have not died until they finish.
In reply to wait_all_children for Proc::Fork? by metaperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |