comment
This commit is contained in:
parent
19ff379661
commit
e07ca66145
|
@ -93,7 +93,7 @@ struct proc {
|
||||||
int xstate; // Exit status to be returned to parent's wait
|
int xstate; // Exit status to be returned to parent's wait
|
||||||
int pid; // Process ID
|
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
|
struct proc *parent; // Parent process
|
||||||
|
|
||||||
// these are private to the process, so p->lock need not be held.
|
// these are private to the process, so p->lock need not be held.
|
||||||
|
|
Loading…
Reference in a new issue