in reply to Waiting For Multiple Programs to Complete
The wait function returns the pid of a completed child process. If you keep a hash with pid as key and whatever identifying data you like as value, you can tell which subtask has finished.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Waiting For Multiple Programs to Complete
by NathanE (Beadle) on Oct 07, 2005 at 22:08 UTC | |
by Zaxo (Archbishop) on Oct 07, 2005 at 23:11 UTC | |
by sgifford (Prior) on Oct 08, 2005 at 19:22 UTC |