Move problem 1-2 (join) into project 2 as the "wait" system call.
[pintos-anon] / grading / vm / posix-compat.c
index a4aae6ba5e8171119261922ac6af238eab0a658f..06254615ee106b5087a91be4e43f51b3bd8c3001 100644 (file)
@@ -11,7 +11,7 @@
 #undef halt
 #undef exit
 #undef exec
-#undef join
+#undef wait
 #undef create
 #undef remove
 #undef open
@@ -68,7 +68,7 @@ pintos_exec (const char *cmd_line)
 }
 
 int
-pintos_join (pid_t child) 
+pintos_wait (pid_t child) 
 {
   int status = 0;
   waitpid (child, &status, 0);