From 6ad4a777b6ee1202c6aa95ff40e24e8932699843 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 14 Jun 2009 10:58:54 +0000 Subject: [PATCH] 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 --- src/system/kernel/thread.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/system/kernel/thread.cpp b/src/system/kernel/thread.cpp index dd10273386..7437ba527a 100644 --- a/src/system/kernel/thread.cpp +++ b/src/system/kernel/thread.cpp @@ -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);