Add some prototypes.
[pintos-anon] / src / threads / thread.h
index d6a3990f1047d795b4255efa278af5f1a1119e32..248f1d4539663dfa843ef0e5aac9d6ece28c5842 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef HEADER_THREAD_H
-#define HEADER_THREAD_H 1
+#ifndef THREADS_THREAD_H
+#define THREADS_THREAD_H
 
 #include <debug.h>
 #include <list.h>
@@ -108,4 +108,8 @@ void thread_exit (void) NO_RETURN;
 void thread_yield (void);
 void thread_block (void);
 
-#endif /* thread.h */
+void thread_join (struct thread *);
+void thread_set_priority (struct thread *, int);
+int thread_get_priority (const struct thread *);
+
+#endif /* threads/thread.h */