signal: add signal_returnmask and other fixes

This commit is contained in:
Matheus
2024-09-12 22:08:57 -03:00
parent cf3e58ffe1
commit 31c7cf881c
6 changed files with 15 additions and 12 deletions
+2 -2
View File
@@ -61,8 +61,8 @@ typedef struct thread_t {
sigset_t pending;
sigset_t urgent; // always handled before returning to userspace
sigset_t waiting; // for signal_wait
sigset_t oldmask; // for signal_suspend
bool suspending;
sigset_t returnmask; // for signal_returnmask
bool hasreturnmask;
bool stopped;
} signals;
} thread_t;