From: Ben Pfaff Date: Thu, 9 Sep 2004 22:43:32 +0000 (+0000) Subject: Add some prototypes. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7dee069f7ce631237d23f28210f1cd299abadcfd;p=pintos-anon Add some prototypes. --- 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 */