in reply to Re: SIGCHLD and sleep()
in thread SIGCHLD and sleep()
However, this does leave defunct processes sitting in the process table until the daemon interates again and I reap the processes. Which I can live with, but ideally I'd like to know if it is possible to avoid.
Is there a way to create a thread to handle the signals immediately and store the exit statuses in a shared hash? I don't know if I should be mixing ithreads and forking to begin with, but that would be the perfect solution to my problems.
Thanks again,
overbyte
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: SIGCHLD and sleep()
by dave_the_m (Monsignor) on Aug 09, 2005 at 20:19 UTC | |
by Anonymous Monk on Aug 09, 2005 at 21:45 UTC |