diff options
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r-- | src/kernel/proc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h index f0bae50..255a9af 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -3,6 +3,7 @@ #include <kernel/handle.h> #include <kernel/vfs/mount.h> #include <shared/syscalls.h> +#include <stdbool.h> enum process_state { PS_RUNNING, @@ -20,6 +21,8 @@ struct process { struct registers regs; enum process_state state; + bool deathbed; // kill instead of switching to PS_RUNNING + struct process *sibling; struct process *child; struct process *parent; |