Expand description
Enums, traits and functions for working with
signal
.
Enums§
- Error
- The error cases enumeration for signal handling.
Traits§
- Killable
- Trait for threads that can be signalled via
pthread_kill
.
Functions§
- SIGRTMAX
- Return the maximum (inclusive) real-time signal number.
- SIGRTMIN
- Return the minimum (inclusive) real-time signal number.
- block_
signal - Mask a given signal.
- clear_
signal - Clear a pending signal.
- create_
sigset - Create a
sigset
with given signals. - get_
blocked_ signals - Retrieve the signal mask that is blocked of the current thread.
- register_
signal_ handler - Register the signal handler of
signum
. - unblock_
signal - Unmask a given signal.
- validate_
signal_ num - Verify that a signal number is valid.
Type Aliases§
- Signal
Handler - Public alias for a signal handler.
sigaction
. - Signal
Result - A simplified Result type
for operations that can return
Error
.