Crates.io | signal-stack |
lib.rs | signal-stack |
version | 0.1.0 |
source | src |
created_at | 2021-01-01 00:18:19.306324 |
updated_at | 2021-01-01 00:18:19.306324 |
description | Install signal handlers using a stack-based model for cooperative signal handling |
homepage | |
repository | https://github.com/Diggsey/grace |
max_upload_size | |
id | 329948 |
size | 17,182 |
Low-level library for installing signal handlers. Signal handlers are modelled as a stack: when a signal is raised, the stack is traversed from top to bottom, and each signal handler is called in turn.
A signal handler can return true
to indicate that the signal was
handled. In this case, no further handlers will be called. If no
signal handler returns true
then the default behaviour for that
signal will occur.