diff options
author | Richard Braun <rbraun@sceen.net> | 2017-03-04 15:51:04 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-03-04 16:47:59 +0100 |
commit | ef9426483f2f388c4874c6b12e0800645c3dbce4 (patch) | |
tree | 0cc9eb58a28d8cf0bb02c8b38cced1a4f37ac73f /kern/task.c | |
parent | 6fecd5cef7a2f549b4d81053a3b80365ed7828f5 (diff) |
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.
Diffstat (limited to 'kern/task.c')
-rw-r--r-- | kern/task.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |