Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: fixed set of forked processes

by tomfahle (Priest)
on Dec 03, 2010 at 05:01 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (None)
    As of 2024-04-25 04:04 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found