Update thread to add exit_status, intialised to -1, into the thread structure, w/ E

This commit is contained in:
sBubshait
2024-11-05 22:38:09 +00:00
parent f8e529e877
commit 2dccd87a76
2 changed files with 3 additions and 0 deletions

View File

@@ -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. */