in reply to Re^2: Reaping Zombies
in thread Reaping Zombies
What do you mean exactly? have you found the waitpid system call to be expensive, or are you talking about the full process?
What else are you doing inside the while loop besides calling the reaper? You should be calling sleep or select or any other thing that causes your program to do nothing for a while!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Reaping Zombies
by ikegami (Patriarch) on Feb 15, 2006 at 19:36 UTC | |
|
Re^4: Reaping Zombies
by dsb (Chaplain) on Feb 15, 2006 at 19:33 UTC | |
by salva (Canon) on Feb 15, 2006 at 19:35 UTC |