I've been working on a project where two processes send each other the
SIGUSR1 signal to indicate certain events have taken place. It seems like
every time I catch a signal (using: signal(SIGUSR1, whatever);), that the
next signal (of SIGUSR1) would kill the process.
I eventually decided that it must be the case that when the signal is caught,
the action automatically reverts to the default. I kludged this by reregister-
ing the signal in the handler itself and it seems to work fine (for the most
Has anybody else encountered this problem/situation? Please respond via
email if possible, and I will post the results back to the group if any.
P.S.: I _do_ check the return code of signal, and it does _not_ return an