README.txt -- Mark Claypool, claypool@cs.wpi.edu OVERVIEW This code is designed to ascertain what happens when a process receives a second (or more) signal before the current signal has been handled. ss.c - creates a signal handler (SIGHUP) and prints the pid. If an external process signals (HUP) the running process, it handles the signal via a message and then sleeps before printing another message. HYPOTHESIS Upon multiple SIGHUPs, the expected outcome is that the subsequent signals will be discarded, although it is possible that subsequent signals would be queued. RESULT claypool 222 carbon=>>ss Pid: 11866 Waiting for a signal... Pid: 11866 Waiting for a signal... (Another window) kill -HUP 11866 kill -HUP 11866 kill -HUP 11866 kill -HUP 11866 15:53:31 Received signal (1)! 15:53:36 Carry on. 15:53:36 Received signal (2)! 15:53:41 Carry on. Waiting for a signal... CONCLUSION It appears that only 1 additional signal is queued, and the others are discarded. More investigation is needed to determine if this (i.e., a signal queue of 2) is a system setting that can be changed.