diff options
Diffstat (limited to 'kern')
-rw-r--r-- | kern/priority.c | 1 | ||||
-rw-r--r-- | kern/sched_prim.c | 2 | ||||
-rw-r--r-- | kern/sched_prim.h | 5 |
3 files changed, 6 insertions, 2 deletions
diff --git a/kern/priority.c b/kern/priority.c index 43d6101..feddd8e 100644 --- a/kern/priority.c +++ b/kern/priority.c @@ -41,6 +41,7 @@ #include <kern/mach_clock.h> #include <kern/mach_param.h> #include <kern/sched.h> +#include <kern/sched_prim.h> #include <kern/thread.h> #include <kern/processor.h> #include <kern/timer.h> diff --git a/kern/sched_prim.c b/kern/sched_prim.c index 70e253d..db3c1f2 100644 --- a/kern/sched_prim.c +++ b/kern/sched_prim.c @@ -69,8 +69,6 @@ int sched_usec; thread_t sched_thread_id; -void recompute_priorities(void); /* forward */ -void update_priority(thread_t); void set_pri(thread_t, int, boolean_t); void do_thread_scan(void); diff --git a/kern/sched_prim.h b/kern/sched_prim.h index 6a4c32d..a5416a5 100644 --- a/kern/sched_prim.h +++ b/kern/sched_prim.h @@ -104,6 +104,11 @@ extern boolean_t thread_handoff( continuation_t continuation, thread_t new_thread); extern void recompute_priorities(); +extern void update_priority( + thread_t thread); +extern void compute_my_priority( + thread_t thread); + /* * Routines defined as macros |