CVS Log for src/RATSignalHandler.cc,v



head 1.2;

Version 1.2
@Fixed a bug which crashed RAT sometimes when a SIGINT signal was caught. Important: Ctrl-C will not give you the warning mid-event that a ctrl-C has been caught. The problem was that you cannot use output streams during an interupt because the output will change the program state, which is unexpected by the code which was interrupted, which sometimes results in a crash. If somebody wants the "CTRL-C caught" message, feel free to add it somewhere in the MC or better.
date 2005.10.06.17.17.24; author tunnell; state Exp;

Version 1.1
@Added signal handler to intercept Ctrl-C (SIGINT). Ctrl-C once, and execution will gracefully terminate after the next event, and all files will close properly, etc. Ctrl-C again and RAT terminates immediately, just like before.
date 2005.07.30.02.58.45; author volsung; state Exp;


Back to files page.

Matthew Worcester
Last modified: Thu Oct 6 12:18:00 CDT 2005