From 5dc8313546997693da58c83ee52b74dcaa7588ce Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 22 Dec 2005 20:44:27 +0000 Subject: [PATCH] Mention that process_wait() can be changed to an infinite loop temporarily. --- doc/userprog.texi | 6 ++++++ 1 file changed, 6 insertions(+) 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. -- 2.30.2