Also set user_thread to NULL. It shouldn't make a difference, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31040 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6668455281
commit
6ad4a777b6
@ -284,6 +284,7 @@ create_thread_struct(struct thread *inthread, const char *name,
|
||||
thread->select_infos = NULL;
|
||||
thread->post_interrupt_callback = NULL;
|
||||
thread->post_interrupt_data = NULL;
|
||||
thread->user_thread = NULL;
|
||||
|
||||
sprintf(temp, "thread_%ld_retcode_sem", thread->id);
|
||||
thread->exit.sem = create_sem(0, temp);
|
||||
|
Loading…
Reference in New Issue
Block a user