summaryrefslogtreecommitdiff
path: root/kern/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/thread.c')
-rw-r--r--kern/thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kern/thread.c b/kern/thread.c
index 3eccebda..436df07a 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -1803,6 +1803,7 @@ thread_init(struct thread *thread, void *stack,
}
turnstile_td_init(&thread->turnstile_td);
+ thread->last_cond = NULL;
thread->propagate_priority = false;
thread->preempt = THREAD_SUSPEND_PREEMPT_LEVEL;
thread->pinned = 0;