FreeBSD/sys/kern/sched_ule.c
/*
 * Adjust the priority class of a thread.
 */
Adjust the priority class of a thread.
Adjust the priority class of a thread .
void
sched_class(struct thread *td, int class)
{
	THREAD_LOCK_ASSERT(td, MA_OWNED);
	if (td->td_pri_class == class)
		return;
	td->td_pri_class = class;
}
void sched_class ( struct thread * td , int class ) { THREAD_LOCK_ASSERT ( td , MA_OWNED ) ; if ( td -> td_pri_class == class ) return ; td -> td_pri_class = class ; }
Adjust the priority class of a thread.
Adjust the priority class of a thread .