Skip to main content

Module signal

Module signal 

Source
Expand description

Signal handling for Strat9-OS.

Provides basic signal infrastructure for POSIX compatibility. Implements signal delivery, masking, and handling.

Structs§

SigActionData
SigStack
Signal alternate stack
SignalFrame
SignalSet
A set of signals represented as a bitmask.

Enums§

DefaultAction
Signal
Signal numbers (POSIX-compatible).

Constants§

SA_NOCLDSTOP
Signal action flags
SA_NOCLDWAIT
SA_NODEFER
SA_ONSTACK
SA_RESETHAND
SA_RESTART
SA_RESTORER
SA_SIGINFO
SIGNAL_FRAME_MAGIC
SIGNAL_MASK_SIZE
Signal mask constants
SIGNAL_MAX
SIG_BLOCK
How to modify the signal mask
SIG_DFL
SIG_IGN
SIG_SETMASK
SIG_UNBLOCK

Functions§

consume_next_signal
Consume the next pending signal.
deliver_pending_signal
Performs the deliver pending signal operation.
has_pending_signals
Check if the current task has any pending signals.
send_signal
Send a signal to a task.