projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some prototypes.
[pintos-anon]
/
src
/
threads
/
thread.h
diff --git
a/src/threads/thread.h
b/src/threads/thread.h
index 95173ffa51fe6f771a25b70ba135b12df090e00c..248f1d4539663dfa843ef0e5aac9d6ece28c5842 100644
(file)
--- a/
src/threads/thread.h
+++ b/
src/threads/thread.h
@@
-108,4
+108,8
@@
void thread_exit (void) NO_RETURN;
void thread_yield (void);
void thread_block (void);
void thread_yield (void);
void thread_block (void);
+void thread_join (struct thread *);
+void thread_set_priority (struct thread *, int);
+int thread_get_priority (const struct thread *);
+
#endif /* threads/thread.h */
#endif /* threads/thread.h */