in reply to help with Parallel:ForkManager
It will block in start until a child ends.
By the way,
is better written asfor my $command (@commands) { $manager->start and next; ... system( $command ); $manager->finish; }
for my $command (@commands) { $manager->start and next; ... exec( $command ); $manager->finish; }
since all finish does is end the process.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: help with Parallel:ForkManager
by arthurs (Novice) on Jan 12, 2010 at 15:13 UTC | |
by ikegami (Patriarch) on Jan 12, 2010 at 16:13 UTC | |
by arthurs (Novice) on Jan 12, 2010 at 20:33 UTC | |
by ikegami (Patriarch) on Jan 12, 2010 at 21:34 UTC | |
by arthurs (Novice) on Jan 13, 2010 at 20:44 UTC | |
|