projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Clarify that adding code where interrupts are already disabled may be
[pintos-anon]
/
src
/
tests
/
userprog
/
wait-twice.c
1
#include <syscall.h>
2
#include "tests/lib.h"
3
#include "tests/main.h"
4
5
void
6
test_main (void)
7
{
8
pid_t child = exec ("child-simple");
9
msg ("wait(exec()) = %d", wait (child));
10
msg ("wait(exec()) = %d", wait (child));
11
}