sigsuspend: proper behaviour

This commit is contained in:
Matheus
2024-09-09 18:05:54 -03:00
parent 85cbdc05c1
commit caec7d4daa
4 changed files with 30 additions and 10 deletions
+4 -2
View File
@@ -59,8 +59,10 @@ typedef struct thread_t {
stack_t stack;
sigset_t mask;
sigset_t pending;
sigset_t urgent;
sigset_t waiting;
sigset_t urgent; // always handled before returning to userspace
sigset_t waiting; // for signal_wait
sigset_t oldmask; // for signal_suspend
bool suspending;
bool stopped;
} signals;
} thread_t;