summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavan Maddamsetti <[email protected]>2020-11-08 01:56:57 -0500
committerFrans Kaashoek <[email protected]>2021-08-31 14:27:33 -0400
commite07ca6614599e68747fa454da95f007f6941143a (patch)
tree5c0ee1a541b241e363c9f559dc4296f5f5d5c889
parent19ff3796618b6c2874addf4414c1ae6f2c0b50b2 (diff)
downloadxv6-labs-e07ca6614599e68747fa454da95f007f6941143a.tar.gz
xv6-labs-e07ca6614599e68747fa454da95f007f6941143a.tar.bz2
xv6-labs-e07ca6614599e68747fa454da95f007f6941143a.zip
comment
-rw-r--r--kernel/proc.h2
1 files changed, 1 insertions, 1 deletions
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.