From ee8660ea2f9bcc04ca88f0a2d4670ccd9142deaa Mon Sep 17 00:00:00 2001 From: Hang Park Date: Sun, 2 Apr 2017 22:26:56 +0900 Subject: [PATCH] [#7] Change process_wait() to an infinite loop This is a temporary measure to prevent pintos terminates. --- src/userprog/process.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/userprog/process.c b/src/userprog/process.c index ac187f1..4c7cd8f 100644 --- a/src/userprog/process.c +++ b/src/userprog/process.c @@ -88,6 +88,7 @@ start_process (void *f_name) int process_wait (tid_t child_tid UNUSED) { + while (1); // Temporary measure return -1; }