in reply to Re^2: Should I call waitpid when using Parallel::ForkManager to fork in an infinite loop?
in thread Should I call waitpid when using Parallel::ForkManager to fork in an infinite loop?

I thought that $pm->finish did the reap

finish is only executed in the child. It can't do any reaping.

  • Comment on Re^3: Should I call waitpid when using Parallel::ForkManager to fork in an infinite loop?
  • Download Code