git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1394 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2002-10-05 19:44:27 +00:00
parent 48d81f1962
commit ee02a93973
1 changed files with 2 additions and 5 deletions

View File

@ -29,16 +29,13 @@ void thread_enqueue_run_q(struct thread *t);
#ifndef NEW_SCHEDULER
struct thread *thread_dequeue_run_q(int priority);
#endif /* not NEW_SCHEDULER */
void thread_atkernel_entry(void); // called when the thread enters the kernel on behalf of the thread
void thread_atkernel_entry(void);
// called when the thread enters the kernel on behalf of the thread
void thread_atkernel_exit(void);
int thread_suspend_thread(thread_id id);
int thread_resume_thread(thread_id id);
#ifndef NEW_SCHEDULER
int thread_set_priority(thread_id id, int priority);
#else /* NEW_SCHEDULER */
status_t thread_set_priority(thread_id id, int32 priority);
#endif /* NEW_SCHEDULER */
int thread_init(kernel_args *ka);
int thread_init_percpu(int cpu_num);
void thread_exit(int retcode);