]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
lib/posix-process/signal: Add sigsuspend()
authorMichalis Pappas <michalis@unikraft.io>
Tue, 16 Jan 2024 11:49:36 +0000 (12:49 +0100)
committerUnikraft Bot <monkey@unikraft.io>
Wed, 26 Mar 2025 08:05:34 +0000 (08:05 +0000)
commit9e466accaadfa029aa0ccb779dfe983bf239b80d
tree360771d8f15e7d9206ce8ae28a989972236d43cd
parent3419263befb759a0e9a1596810ffe025f98a6445
lib/posix-process/signal: Add sigsuspend()

sigsuspend() temporarily replaces the signal mask of the current
thread and suspends its execution until a signal is delivered.
For more info see sigsuspend(2)

Signed-off-by: Michalis Pappas <michalis@unikraft.io>
Reviewed-by: Ioan-Teodor Teugea <ioan_teodor.teugea@stud.acs.upb.ro>
Reviewed-by: Sergiu Moga <sergiu@unikraft.io>
Reviewed-by: Andrei Tatar <andrei@unikraft.io>
Approved-by: Andrei Tatar <andrei@unikraft.io>
GitHub-Closes: #1248
lib/posix-process/Makefile.uk
lib/posix-process/signal/rt_sigsuspend.c [new file with mode: 0644]