A signal handler should not reassert its desire to handle its own signal. This is often done on nonpersistent platforms; that is, platforms that, upon receiving a signal, reset the disposition for the signal to default before calling the bound signal handler. See Calling signal()
under these conditions presents a race condition. See SIG01-C. Understand implementation-specific details regarding signal handler persistence.
...