Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Introduction to Parallel::ForkManager

by biosysadmin (Deacon)
on Sep 14, 2003 at 21:37 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: perltutorial [id://291446]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-25 19:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found