signal-stack

Crates.iosignal-stack
lib.rssignal-stack
version0.1.0
sourcesrc
created_at2021-01-01 00:18:19.306324
updated_at2021-01-01 00:18:19.306324
descriptionInstall signal handlers using a stack-based model for cooperative signal handling
homepage
repositoryhttps://github.com/Diggsey/grace
max_upload_size
id329948
size17,182
Diggory Blake (Diggsey)

documentation

README

signal-stack

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.

Commit count: 6

cargo fmt