From e07ca6614599e68747fa454da95f007f6941143a Mon Sep 17 00:00:00 2001 From: Pavan Maddamsetti Date: Sun, 8 Nov 2020 01:56:57 -0500 Subject: [PATCH] comment --- kernel/proc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/proc.h b/kernel/proc.h index 8e90008..f6ca8b7 100644 --- a/kernel/proc.h +++ b/kernel/proc.h @@ -93,7 +93,7 @@ struct proc { int xstate; // Exit status to be returned to parent's wait int pid; // Process ID - // proc_tree_lock must be held when using this: + // wait_lock must be held when using this: struct proc *parent; // Parent process // these are private to the process, so p->lock need not be held.