Get rid of unnecessary barrier. Improve comment.
[pintos-anon] / grading / userprog / wait-simple.c
1 #include <stdio.h>
2 #include <syscall.h>
3
4 int
5 main (void) 
6 {
7   printf ("(wait-simple) begin\n");
8   printf ("(wait-simple) wait(exec()) = %d\n", wait (exec ("child-simple")));
9   printf ("(wait-simple) end\n");
10   return 0;
11 }