in reply to Re: Opening simultaneous scripts
in thread Opening simultaneous scripts
A better way is to fork your kids, noting their pid as keys in a hash. When you reap a kid, delete it from the hash. If it wasn't part of the hash, it won't affect the count. Then fork new kids (on the block? {grin}) until your hash has 30 keys again.
I've done this for at least one of my columns, but after 106 by-lines, I can't remember which one anymore. {grin}
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE (tilly) 3: Opening simultaneous scripts
by tilly (Archbishop) on Aug 22, 2000 at 21:45 UTC |