lix/src/libutil
Eelco Dolstra 447089a5f6 * Catch SIGINT to terminate cleanly when the user tries to interrupt
Nix.  This is to prevent Berkeley DB from becoming wedged.

  Unfortunately it is not possible to throw C++ exceptions from a
  signal handler.  In fact, you can't do much of anything except
  change variables of type `volatile sig_atomic_t'.  So we set an
  interrupt flag in the signal handler and check it at various
  strategic locations in the code (by calling checkInterrupt()).
  Since this is unlikely to cover all cases (e.g., (semi-)infinite
  loops), sometimes SIGTERM may now be required to kill Nix.
2004-01-15 20:23:55 +00:00
..
archive.cc * Catch SIGINT to terminate cleanly when the user tries to interrupt 2004-01-15 20:23:55 +00:00
archive.hh * Source tree refactoring. 2003-11-18 10:47:59 +00:00
aterm.cc * Allow integer bindings in derivations. 2003-11-25 12:05:48 +00:00
aterm.hh * Allow integer bindings in derivations. 2003-11-25 12:05:48 +00:00
hash.cc * Source tree refactoring. 2003-11-18 10:47:59 +00:00
hash.hh * Source tree refactoring. 2003-11-18 10:47:59 +00:00
Makefile.am * Fix `make check'. 2003-12-01 14:40:24 +00:00
md5.c * Source tree refactoring. 2003-11-18 10:47:59 +00:00
md5.h * Source tree refactoring. 2003-11-18 10:47:59 +00:00
test-aterm.cc * Source tree refactoring. 2003-11-18 10:47:59 +00:00
util.cc * Catch SIGINT to terminate cleanly when the user tries to interrupt 2004-01-15 20:23:55 +00:00
util.hh * Catch SIGINT to terminate cleanly when the user tries to interrupt 2004-01-15 20:23:55 +00:00