projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move problem 1-2 (join) into project 2 as the "wait" system call.
[pintos-anon]
/
src
/
lib
/
user
/
syscall.c
diff --git
a/src/lib/user/syscall.c
b/src/lib/user/syscall.c
index b6120fd154227f9301dd029412c015e2156bf10a..078d7969e02b3ed15a61e5c628e3a8e0dbfba37b 100644
(file)
--- a/
src/lib/user/syscall.c
+++ b/
src/lib/user/syscall.c
@@
-82,9
+82,9
@@
exec (const char *file)
}
int
-
join
(pid_t pid)
+
wait
(pid_t pid)
{
- return syscall1 (SYS_
join
, pid);
+ return syscall1 (SYS_
wait
, pid);
}
bool