summaryrefslogtreecommitdiff
path: root/kern/sched_prim.h
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:54:03 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-05 06:37:51 +0900
commite7131e441628bf173eabd64d5498eebcdd533b69 (patch)
tree7e05673116b0708eb559d2f4aa8fcb0fe8555dad /kern/sched_prim.h
parentf7a65556ad6c395d5001bbc1a27b334715b40a85 (diff)
kern/sched_prim.c: remove forward declarations
* kern/sched_prim.c (set_pri, do_thread_scan, choose_pset_thread, checkrq, thread_check): Remove forward declarations. * kern/sched_prim.h (set_pri, do_thread_scan, choose_pset_thread, checkrq, thread_check): Add prototypes.
Diffstat (limited to 'kern/sched_prim.h')
-rw-r--r--kern/sched_prim.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/kern/sched_prim.h b/kern/sched_prim.h
index e08f5703..b7ecba7f 100644
--- a/kern/sched_prim.h
+++ b/kern/sched_prim.h
@@ -172,4 +172,13 @@ extern void stack_free(
#define convert_ipc_timeout_to_ticks(millis) \
(((millis) * hz + 999) / 1000)
+void set_pri(thread_t th, int pri, boolean_t resched);
+void do_thread_scan(void);
+thread_t choose_pset_thread(processor_t myprocessor, processor_set_t pset);
+
+#if DEBUG
+void checkrq(run_queue_t rq, char *msg);
+void thread_check(thread_t th, run_queue_t rq);
+#endif /* DEBUG */
+
#endif /* _KERN_SCHED_PRIM_H_ */