in reply to Re^2: How would I add a pause b/t forks in my $pid = $pm->start and next;
in thread How would I add a pause b/t forks in my $pid = $pm->start and next;

As though fork/wait/waitpid weren't complex enough it adds another layer of complexity on top of that

Well, not really, Proc::Queue is completelly transparent, use it at the beginning of your script and then call fork, exit, etc. as ever.

  • Comment on Re^3: How would I add a pause b/t forks in my $pid = $pm->start and next;
  • Download Code

Replies are listed 'Best First'.
Re^4: How would I add a pause b/t forks in my $pid = $pm->start and next;
by samtregar (Abbot) on Oct 28, 2005 at 17:54 UTC
    Sure, but I don't want to fork/waitpid/wait as usual! That stuff is way too complicated to get right most of the time. That's why Parallel::ForkManager is a better solution, it hides the complexity of forking beneath a clear and consistent API.

    -sam