diff options
author | Robert Morris <rtm@csail.mit.edu> | 2019-07-08 11:11:00 -0400 |
---|---|---|
committer | Robert Morris <rtm@csail.mit.edu> | 2019-07-08 11:11:00 -0400 |
commit | 9d34838b4f7c859b753a32124002d7d845140b0a (patch) | |
tree | 920c07864e31bc48b215df3f6ac2ad10133ff3b3 /kernel/proc.h | |
parent | db72f3108fb729d4a9bbcc7ed3979a08eeadd022 (diff) | |
download | xv6-labs-9d34838b4f7c859b753a32124002d7d845140b0a.tar.gz xv6-labs-9d34838b4f7c859b753a32124002d7d845140b0a.tar.bz2 xv6-labs-9d34838b4f7c859b753a32124002d7d845140b0a.zip |
holding p->lock all the way through state=RUNNABLE means we don't need EMBRYO
Diffstat (limited to 'kernel/proc.h')
-rw-r--r-- | kernel/proc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/proc.h b/kernel/proc.h index 0fa61ff..687fdd1 100644 --- a/kernel/proc.h +++ b/kernel/proc.h @@ -78,7 +78,7 @@ struct trapframe { /* 280 */ uint64 t6; }; -enum procstate { UNUSED, EMBRYO, SLEEPING, RUNNABLE, RUNNING, ZOMBIE }; +enum procstate { UNUSED, SLEEPING, RUNNABLE, RUNNING, ZOMBIE }; // Per-process state struct proc { |