Crate signal [−] [src]
Signal handling library
The library is focused on higher-level abstractions for handling signals.
All low-level stuff should be in nix
.
Currently we have two mechanisms for handling exeptions:
- The
exec_handler
module for replacing process with newly runned command designed as crash safety measure - The
Trap
mechanism that masks out signals and allows wait for them explicitly
Both are specifically suited for making process supervisors.
On TODO list:
signalfd
The library tested only on linux
Modules
exec_handler |
Set a signal handler that executes command-line |
trap |
Trap for handling signals synchronously |