Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: fixed set of forked processes

by tomfahle (Priest)
on Dec 03, 2010 at 05:01 UTC ( #875076=note: print w/replies, xml ) Need Help??


in reply to Re^3: fixed set of forked processes
in thread fixed set of forked processes

Have a look at Parallel::Iterator - Simple parallel execution, too.

The workers option sets the number of concurrent processes to launch.

my $max_forks = 42; my $options = { workers => $max_forks, }; iterate( $options , $worker, $iterator );

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://875076]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (1)
As of 2021-10-26 00:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (90 votes). Check out past polls.

    Notices?