Add explanatory comments to userprog tests.
[pintos-anon] / src / tests / userprog / wait-twice.c
index 9386ffe4bebebe553007b2e880c865234c1387d4..785e684939d31dcfa1994ed586f07e3aab39834a 100644 (file)
@@ -1,3 +1,7 @@
+/* Wait for a subprocess to finish, twice.
+   The first call must wait in the usual way and return the exit code.
+   The second wait call must return -1 immediately. */
+
 #include <syscall.h>
 #include "tests/lib.h"
 #include "tests/main.h"