in reply to 100 years sleep on HPUX
My sincere advice is to avoid playing with signal handlers for this. Just pull out Parallel::ForkManager to keep a fixed number of children alive. Alternately never sleep. Just use wait to block until a child exits, and then proceed.
|
|---|