diff options
author | rsc <rsc> | 2007-08-23 14:40:30 +0000 |
---|---|---|
committer | rsc <rsc> | 2007-08-23 14:40:30 +0000 |
commit | b1fb19b6df716c0ad30b05236c356bc34457c70b (patch) | |
tree | e6b9c73718a4f4bfe233b2b298ee082aef42f98e /proc.h | |
parent | 3a057d12aed586b01d808d55a8b4c700523bbd95 (diff) | |
download | xv6-labs-b1fb19b6df716c0ad30b05236c356bc34457c70b.tar.gz xv6-labs-b1fb19b6df716c0ad30b05236c356bc34457c70b.tar.bz2 xv6-labs-b1fb19b6df716c0ad30b05236c356bc34457c70b.zip |
Use parent pointer instead of ppid.
Diffstat (limited to 'proc.h')
-rw-r--r-- | proc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ struct proc { char *kstack; // Bottom of kernel stack for this process enum proc_state state; // Process state int pid; // Process ID - int ppid; // Parent pid + struct proc *parent; // Parent process void *chan; // If non-zero, sleeping on chan int killed; // If non-zero, have been killed struct file *ofile[NOFILE]; // Open files |