Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Introduction to Parallel::ForkManager

by biosysadmin (Deacon)
on Sep 14, 2003 at 21:37 UTC ( #291446=perltutorial: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       my $manager = new Parallel::ForkManager( 20 );
       
    
  2. or download this
       $manager->set_max_procs( $newMaximumProcs );
       
    
  3. or download this
       foreach my $command (@commands) {
          $manager->start and next;
    ...
          $manager->finish;
       };
       
    
  4. or download this
       $manager->run_on_start( 
          sub {
    ...
          }
        );
       
    
  5. or download this
       $manager->run_on_finish( 
          sub {
    ...
          }
       );
       
    
  6. or download this
       $manager->wait_on_finish( 
          sub {
    ...
          3
       );
       
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perltutorial [id://291446]
help
Chatterbox?
[Corion]: Meh ... Minion really doesn't want to run under the fork() emulation on Windows (which I understand), but has no other way either (which I find inconvenient)
[Corion]: Other than that, it seems really polished

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2018-06-21 14:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (118 votes). Check out past polls.

    Notices?