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/kernel.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/kernel.c')
-rw-r--r-- | kern/kernel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kern/kernel.c b/kern/kernel.c index 9b8d4eec..cd3d3e3b 100644 --- a/kern/kernel.c +++ b/kern/kernel.c @@ -24,6 +24,7 @@ #include <kern/sref.h> #include <kern/task.h> #include <kern/thread.h> +#include <kern/turnstile.h> #include <kern/work.h> #include <kern/xcall.h> #include <machine/cpu.h> @@ -43,6 +44,7 @@ kernel_main(void) xcall_setup(); task_setup(); sleepq_setup(); + turnstile_setup(); thread_setup(); work_setup(); llsync_setup(); |