diff options
Diffstat (limited to 'src/threads/thread.h')
| -rw-r--r-- | src/threads/thread.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/threads/thread.h b/src/threads/thread.h index fdaba60..4b33d7d 100644 --- a/src/threads/thread.h +++ b/src/threads/thread.h @@ -30,10 +30,10 @@ struct parent_child { struct list_elem elem; // owned by the parent - // struct semaphore exit_sema; + struct semaphore exit_sema; + int exit_status; struct lock l; - int exit_status; int alive_count; tid_t child_tid; }; @@ -116,6 +116,7 @@ struct thread /* Owned by userprog/process.c. */ uint32_t *pagedir; /* Page directory. */ struct file **fds; /* Pointer to array of file descriptors. */ + bool load_success; struct parent_child *parent; // one parent struct list children; // multiple children |
