From 9d34838b4f7c859b753a32124002d7d845140b0a Mon Sep 17 00:00:00 2001 From: Robert Morris Date: Mon, 8 Jul 2019 11:11:00 -0400 Subject: holding p->lock all the way through state=RUNNABLE means we don't need EMBRYO --- kernel/proc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/proc.h') 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 { -- cgit v1.2.3