 | | One of the most significant problems with these early implementations, though, is that they reset a caught signal's disposition to its default each time the signal was delivered. If the signal arrived a second time, the default disposition would be taken, instead of calling the signal handler. To see the problems that this can cause, start signal1 again and send it two SIGUSR1 signals. The first one is caught as intended, but the second one causes the program to terminate! This is because the default disposition for SIGUSR1 terminates the process. | |
|