summaryrefslogtreecommitdiff
path: root/kernel/proc.h
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2019-07-08 11:11:00 -0400
committerRobert Morris <[email protected]>2019-07-08 11:11:00 -0400
commit9d34838b4f7c859b753a32124002d7d845140b0a (patch)
tree920c07864e31bc48b215df3f6ac2ad10133ff3b3 /kernel/proc.h
parentdb72f3108fb729d4a9bbcc7ed3979a08eeadd022 (diff)
downloadxv6-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.h2
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 {