diff options
author | Ian Moffett <ian@osmora.org> | 2025-05-28 23:29:52 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-05-28 23:29:52 -0400 |
commit | cb807eb795e1380513db4c7dbce0452645746abf (patch) | |
tree | 0fbf05f3ee0bb54d6dfa3c93d0fb551343635a2e /sys/include | |
parent | 7cc1c177de67a79ecdd428bebb8718692a6bff0d (diff) |
kernel: proc: Store kernel thread flag in `proc'
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/sys/proc.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/include/sys/proc.h b/sys/include/sys/proc.h index 7b03672..0a7d133 100644 --- a/sys/include/sys/proc.h +++ b/sys/include/sys/proc.h @@ -83,11 +83,7 @@ struct proc { #define PROC_ZOMB BIT(2) /* Zombie (dead but not deallocated) */ #define PROC_LEAFQ BIT(3) /* Leaf queue is active */ #define PROC_WAITED BIT(4) /* Being waited on by parent */ - -/* - * Flags for exit1() - */ -#define EXIT_KTD BIT(0) /* Kill a kernel thread */ +#define PROC_KTD BIT(5) /* Kernel thread */ struct proc *this_td(void); struct proc *get_child(struct proc *cur, pid_t pid); |