Added another argument parameter for the thread creation code. Helps
implementing a more efficient on_exit_thread(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3073 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -13,7 +13,7 @@ void arch_thread_init_tls(struct thread *thread);
|
||||
void arch_thread_context_switch(struct thread *t_from, struct thread *t_to);
|
||||
int arch_thread_init_kthread_stack(struct thread *t, int (*start_func)(void), void (*entry_func)(void), void (*exit_func)(void));
|
||||
void arch_thread_dump_info(void *info);
|
||||
void arch_thread_enter_uspace(struct thread *t, addr entry, void *args);
|
||||
void arch_thread_enter_uspace(struct thread *t, addr entry, void *args1, void *args2);
|
||||
void arch_thread_switch_kstack_and_call(struct thread *t, addr new_kstack, void (*func)(void *), void *arg);
|
||||
|
||||
//struct thread *arch_thread_get_current_thread(void);
|
||||
|
||||
Reference in New Issue
Block a user