+routine PREFIX(thread_set_policy)(
+ thr_act : thread_act_t;
+ pset : processor_set_t;
+ policy : policy_t;
+ base : policy_base_t;
+ limit : policy_limit_t);
+
+routine thread_get_mach_voucher(
+ thr_act : thread_read_t;
+ which : mach_voucher_selector_t;
+ out voucher : ipc_voucher_t);
+
+routine thread_set_mach_voucher(
+ thr_act : thread_act_t;
+ voucher : ipc_voucher_t);
+
+routine thread_swap_mach_voucher(
+ thr_act : thread_act_t;
+ new_voucher : ipc_voucher_t;
+ inout old_voucher : ipc_voucher_t);
+
+routine thread_convert_thread_state(
+ thread : thread_act_t;
+ direction : int;
+ flavor : thread_state_flavor_t;
+ in_state : thread_state_t;
+ out out_state : thread_state_t, CountInOut);
+
+#ifdef XNU_KERNEL_PRIVATE
+ skip;
+#else
+ skip;
+#endif /* XNU_KERNEL_PRIVATE */
+
+routine thread_get_exception_ports_info(
+ port : mach_port_t;
+ exception_mask : exception_mask_t;
+ out masks : exception_mask_array_t;
+ out old_handlers_info : exception_handler_info_array_t, SameCount;
+ out old_behaviors : exception_behavior_array_t, SameCount;
+ out old_flavors : exception_flavor_array_t, SameCount);
+
+/* vim: set ft=c : */