projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement a proper block layer with partition support.
[pintos-anon]
/
src
/
tests
/
userprog
/
wait-twice.c
diff --git
a/src/tests/userprog/wait-twice.c
b/src/tests/userprog/wait-twice.c
index 9386ffe4bebebe553007b2e880c865234c1387d4..785e684939d31dcfa1994ed586f07e3aab39834a 100644
(file)
--- a/
src/tests/userprog/wait-twice.c
+++ b/
src/tests/userprog/wait-twice.c
@@
-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"
#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"