]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/sched_prim.h
xnu-3789.51.2.tar.gz
[apple/xnu.git] / osfmk / kern / sched_prim.h
index a42ecb7b0541b01ffbf87c687e529bd698646800..ca3227ec100577b54bc1e3f85670793610ca227e 100644 (file)
@@ -73,6 +73,7 @@
 #include <kern/kern_types.h>
 #include <kern/thread.h>
 #include <sys/cdefs.h>
 #include <kern/kern_types.h>
 #include <kern/thread.h>
 #include <sys/cdefs.h>
+#include <kern/block_hint.h>
 
 #ifdef MACH_KERNEL_PRIVATE
 
 
 #ifdef MACH_KERNEL_PRIVATE
 
@@ -411,6 +412,13 @@ extern thread_t thread_wakeup_identify(event_t event, int priority);
 
 #endif /* XNU_KERNEL_PRIVATE */
 
 
 #endif /* XNU_KERNEL_PRIVATE */
 
+#ifdef KERNEL_PRIVATE
+/* Set pending block hint for a particular object before we go into a wait state */
+extern void            thread_set_pending_block_hint(
+                                                       thread_t                        thread,
+                                                       block_hint_t                    block_hint);
+#endif /* KERNEL_PRIVATE */
+
 /* Context switch */
 extern wait_result_t   thread_block(
                                                        thread_continue_t       continuation);
 /* Context switch */
 extern wait_result_t   thread_block(
                                                        thread_continue_t       continuation);