From: Ben Pfaff Date: Thu, 22 Dec 2005 20:44:27 +0000 (+0000) Subject: Mention that process_wait() can be changed to an infinite loop X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a46b68ed72c7887e54356e121bfc67bcb27ffffe;p=pintos-anon Mention that process_wait() can be changed to an infinite loop temporarily. --- diff --git a/doc/userprog.texi b/doc/userprog.texi index 00c0f67..ab6115c 100644 --- a/doc/userprog.texi +++ b/doc/userprog.texi @@ -481,6 +481,12 @@ The @code{write} system call for writing to fd 1, the system console. All of our test programs write to the console (the user process version of @func{printf} is implemented this way), so they will all malfunction until @code{write} is available. + +@item +For now, change @func{process_wait} to an infinite loop (one that waits +forever). The provided implementation returns immediately, so Pintos +will power off before any processes actually get to run. You will +eventually need to provide a correct implementation. @end itemize After the above are implemented, user processes should work minimally.