microkernel
microkernel copied to clipboard
[thread] Signals Kernel Calls
Description
The following interface should be supported, in order to enable threads to catch, send and manage signals.
Structures
-
struct sigaction
: describes actions on the receipt of a signal
Functions
-
err = alarm(sec)
: schedules an alarm signal -
err = sigsend(signum, tid)
: sends a signal -
err = sigwait(signum)
: waits for the receipt of a signal -
err = sigctl(signum, &sigact)
: controls the behavior of a signal -
sigreturn()
: returns from a signal handler
Roadmap
-
sigctl()
introduced in commit a9e9f2a967dda7b5438d2b9bd02797032222c2bd.