Skip to content

Commit

Permalink
process Termination message add
Browse files Browse the repository at this point in the history
  • Loading branch information
micaellajimini committed Sep 30, 2017
1 parent 3eb75c6 commit b695f48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SOGANG UNIVERSITY OPERATING SYSTEM PROJECT
* pintos
* oh micaellajimini added
* asdfhasdofhaoisdfoshdfo
2 changes: 2 additions & 0 deletions src/userprog/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ process_exit (void)
pagedir_activate (NULL);
pagedir_destroy (pd);
}
exit(cur->status);
print("%s: exit(%d)\n",cur->name,cur->status);
}

/* Sets up the CPU for running user code in the current
Expand Down

0 comments on commit b695f48

Please sign in to comment.