From ef9426483f2f388c4874c6b12e0800645c3dbce4 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Sat, 4 Mar 2017 15:51:04 +0100 Subject: kern/{thread,turnstile}: implement priority inheritance The new turnstile module provides priority propagation capable sleep queues, tightly coupled with the scheduler, and can be used to implement synchronization facilities with priority inheritance. --- kern/task.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kern/task.c') diff --git a/kern/task.c b/kern/task.c index afc2407a..d7d91c17 100644 --- a/kern/task.c +++ b/kern/task.c @@ -150,8 +150,8 @@ task_info(struct task *task) thread_state_to_chr(thread), thread_wchan_desc(thread), (unsigned long)thread_wchan_addr(thread), - thread_sched_class_to_str(thread_sched_class(thread)), - thread_priority(thread), + thread_sched_class_to_str(thread_user_sched_class(thread)), + thread_user_priority(thread), thread->name); } -- cgit v1.2.3