Added thread::io_priority field and functions to get/set it.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27247 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-08-31 00:37:02 +00:00
parent 4612433715
commit 3b3e3805f8
3 changed files with 36 additions and 0 deletions
+3
View File
@@ -48,6 +48,9 @@ int32 thread_used_threads(void);
const char* thread_state_to_text(struct thread* thread, int32 state);
int32 thread_get_io_priority(thread_id id);
void thread_set_io_priority(int32 priority);
#define thread_get_current_thread arch_thread_get_current_thread
struct thread *thread_get_thread_struct(thread_id id);