README.txt -- Mark Claypool, claypool@cs.wpi.edu OVERVIEW This code is designed to ascertain what thread handles a signal in a multi-threaded application and whether other threads continue if one stops. ts.c - creates a signal handler (SIGHUP) and one additional thread. The additional thread counts up. The main thread then counts down. Sending a HUP signal causes the handler to pause. HYPOTHESIS Upon a SIGHUP, the expected outcome is that the main thread will pause, although it is possible that neither thread would pause and the signal would be handled by a "new" thread. RESULT claypool 162 carbon=>>ts Pid: 11501 Count: -1 Count: 1 Count: -2 Count: 2 Received signal! Count: 3 Count: 4 Count: 5 Count: 6 Carry on. Count: -3 Count: 7 CONCLUSION The main thread handles signals. Child threads created through pthreads continue as normal.