waitpid: implement WSTOPPED and WCONTINUED

This commit is contained in:
Matheus
2024-05-22 13:48:21 -03:00
parent e965ae3ec4
commit 8e1033f170
2 changed files with 41 additions and 13 deletions
+3
View File
@@ -55,6 +55,7 @@ typedef struct thread_t {
sigset_t mask;
sigset_t pending;
sigset_t urgent;
bool stopped;
} signals;
} thread_t;
@@ -108,6 +109,8 @@ typedef struct proc_t {
spinlock_t lock;
sigaction_t actions[NSIG];
sigset_t pending;
bool stopunwaited;
bool continueunwaited;
} signals;
} proc_t;