in reply to Re^4: Graceful shutdowns and Parallel::ForkManager
in thread Graceful shutdowns and Parallel::ForkManager
set_max_procs controls how many processes $pm->start() will "create" at once; it has nothing to do with killing running processes (or not).
Since you're doing a wait_all_children, they will complete naturally. set_max_procs won't have any effect either way (I think).
Can you try your test without it? Your test program kills my NT box running cygwin completely, so it's a multi-purpose app :)
--
Mike
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Graceful shutdowns and Parallel::ForkManager
by atcroft (Abbot) on Jul 26, 2002 at 04:43 UTC | |
by RMGir (Prior) on Jul 26, 2002 at 10:28 UTC |