Module signal

Source

Structs§

BlockedSignal

Enums§

Error
Signal

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 num back to the default.
create_sigset
Creates sigset from 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 handler as the signal handler for the real-time signal with signum num.
register_signal_handler
Registers handler as the signal handler of signum num.
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.

Type Aliases§

SignalResult