signal-stack 0.1.0

Install signal handlers using a stack-based model for cooperative signal handling
Documentation
  • Coverage
  • 100%
    7 out of 7 items documented0 out of 5 items with examples
  • Size
  • Source code size: 20.14 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.83 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 15s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Diggsey/grace
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Diggsey

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.