summaryrefslogtreecommitdiff
path: root/kern/eventcount.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/eventcount.h')
-rw-r--r--kern/eventcount.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/kern/eventcount.h b/kern/eventcount.h
index 6872a34..4a4125c 100644
--- a/kern/eventcount.h
+++ b/kern/eventcount.h
@@ -56,4 +56,10 @@ extern kern_return_t evc_wait(natural_t ev_id);
extern void evc_notify_abort (thread_t thread);
+#if NCPUS <= 1
+void simpler_thread_setrun(
+ thread_t th,
+ boolean_t may_preempt);
+#endif
+
#endif /* _KERN_EVENTCOUNT_H_ */