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.h
diff --git
a/src/lib/user/syscall.h
b/src/lib/user/syscall.h
index 147252531bb0db74ae12bd74d378a25ea02bbebf..c2941087faa09de8dca3c6f434fbcf0f35aea99f 100644
(file)
--- a/
src/lib/user/syscall.h
+++ b/
src/lib/user/syscall.h
@@
-13,7
+13,7
@@
typedef int mapid_t;
void halt (void) NO_RETURN;
void exit (int status) NO_RETURN;
pid_t exec (const char *file);
-int
join
(pid_t);
+int
wait
(pid_t);
bool create (const char *file, unsigned initial_size);
bool remove (const char *file);
int open (const char *file);