mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 08:16:14 +02:00
447089a5f6
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. |
||
---|---|---|
.. | ||
eval.cc | ||
eval.hh | ||
Makefile.am | ||
nix.sdf | ||
nixexpr.cc | ||
nixexpr.hh | ||
parser.cc | ||
parser.hh | ||
primops.cc | ||
primops.hh |