while (1) { if ($active_readers < $current_reader_limit) { # Launch enough new readers to bring us up to the current limi +t
Have you considered using Parallel::ForkManager?
DESCRIPTION
This module is intended for use in operations that can be done in parallel where the number of processes to be forked off should be limited.
Alexander
In reply to Re: Managing the fork/execing and reaping of child processes
by afoken
in thread Managing the fork/execing and reaping of child processes
by ibm1620
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |