Move problem 1-2 (join) into project 2 as the "wait" system call.
[pintos-anon] / grading / userprog / exec-once.c
index ab1de215bb17f5ab8165e15026a962e7b3bd2909..87bf2be9dba754c1cac448a8f15ef2fb798e8a00 100644 (file)
@@ -5,7 +5,7 @@ int
 main (void) 
 {
   printf ("(exec-once) begin\n");
-  join (exec ("child-simple"));
+  wait (exec ("child-simple"));
   printf ("(exec-once) end\n");
   return 0;
 }