Structs§
Enums§
Traits§
- Killable
- Trait for threads that can be signalled via
pthread_kill.
Functions§
- SIGRTMAX
- Returns the maximum (inclusive) real-time signal number.
- SIGRTMIN
- Returns the minimum (inclusive) real-time signal number.
- __
libc_ 🔒 ⚠current_ sigrtmax - __
libc_ 🔒 ⚠current_ sigrtmin - block_
signal - Masks given signal.
- clear_
signal - Clears pending signal.
- clear_
signal_ handler - Resets the signal handler of signum
numback to the default. - create_
sigset - Creates
sigsetfrom an array of signal numbers. - get_
blocked_ signals - Retrieves the signal mask of the current thread as a vector of c_ints.
- kill⚠
- Safety
- register_
rt_ ⚠signal_ handler - Registers
handleras the signal handler for the real-time signal with signumnum. - register_
signal_ ⚠handler - Registers
handleras the signal handler of signumnum. - unblock_
signal - Unmasks given signal.
- valid_
rt_ 🔒signal_ num - wait_
for_ signal - Wait for signal before continuing. The signal number of the consumed signal is returned on success. EAGAIN means the timeout was reached.