X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fthreads%2Fthread.h;h=248f1d4539663dfa843ef0e5aac9d6ece28c5842;hb=7dee069f7ce631237d23f28210f1cd299abadcfd;hp=95173ffa51fe6f771a25b70ba135b12df090e00c;hpb=df1ff3bff91352072525b5711841e6bccbd731aa;p=pintos-anon diff --git a/src/threads/thread.h b/src/threads/thread.h index 95173ff..248f1d4 100644 --- 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_join (struct thread *); +void thread_set_priority (struct thread *, int); +int thread_get_priority (const struct thread *); + #endif /* threads/thread.h */