예제 #1
0
static boolean_t proc_usynch_thread_qos_add_override(struct uthread *uth, uint64_t tid, int override_qos, boolean_t first_override_for_resource)
{
	task_t task = current_task();
	thread_t thread = uth ? uth->uu_thread : THREAD_NULL;
	
	return proc_thread_qos_add_override(task, thread, tid, override_qos, first_override_for_resource);
}
예제 #2
0
static boolean_t
proc_usynch_thread_qos_add_override_for_resource(task_t task, struct uthread *uth,
		uint64_t tid, int override_qos, boolean_t first_override_for_resource,
		user_addr_t resource, int resource_type)
{
	thread_t thread = uth ? uth->uu_thread : THREAD_NULL;

	return proc_thread_qos_add_override(task, thread, tid, override_qos,
			first_override_for_resource, resource, resource_type);
}