in reply to CHLD signal?
Your best bet may be to trim down your SIGCHLD handler as much as possible. If there's no-way getting around doing a bunch of work when your child process ends, you may want to consider doing something like queing the info you need from the deceased child process and do the work a little later on (once you're out of the signal-handler).
Seeing the code for your SIGCHLD handler (or giving us an idea of what it is doing) may help the Monestary assist you in your quest.
|
|---|