in reply to Re^3: using waitpid() with signals
in thread using waitpid() with signals

I see your point, thanks for the suggestion! But just out of curiosity -- is it safe to call non-blocking waitpid() from the signal handler, if the signal itself has interrupted a blocking waitpid()?

kind regards, risto