in reply to Re^2: SIGCHLD and sleep()
in thread SIGCHLD and sleep()
while (1) { while (remaining) { sleep(remaining); while (($pid = wait) != -1) { ... do reaping stuff } } ... check for new jobs and spawn them ... }
Dave.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: SIGCHLD and sleep()
by Anonymous Monk on Aug 09, 2005 at 21:45 UTC |