Update thread to add exit_status, intialised to -1, into the thread structure, w/ E
This commit is contained in:
@@ -111,6 +111,7 @@ struct thread
|
||||
/* Shared between thread.c and synch.c. */
|
||||
struct list_elem elem; /* List element. */
|
||||
|
||||
int exit_status; /* Exit Status: 0 = successful exit. */
|
||||
|
||||
#ifdef USERPROG
|
||||
/* Owned by userprog/process.c. */
|
||||
|
||||
Reference in New Issue
Block a user