![]() |
|
more useful options | |
PerlMonks |
•Re: Re: •Re: Run N similar tasks in parallelby merlyn (Sage) |
on Feb 20, 2003 at 14:58 UTC ( #237098=note: print w/replies, xml ) | Need Help?? |
By checking the possible failure of fork, I never "think" I'm working on five kids when only two have really started.
By checking the value of waitpid for a possible -1 return, I never "think" I have kids left when I really don't. The -1 force-resets the hash. -- Randal L. Schwartz, Perl hacker
In Section
Snippets Section
|
|