FreeBSD/sys/kern/sched_ule.c
/*
 * Set the base user priority, does not effect current running priority.
 */
Set the base user priority, does not effect current running priority.
Set the base user priority does not effect current running priority .
void
sched_user_prio(struct thread *td, u_char prio)
{
	td->td_base_user_pri = prio;
	if (td->td_lend_user_pri <= prio)
		return;
	td->td_user_pri = prio;
}
void sched_user_prio ( struct thread * td , u_char prio ) { td -> td_base_user_pri = prio ; if ( td -> td_lend_user_pri <= prio ) return ; td -> td_user_pri = prio ; }
Set the base user priority, does not effect current running priority.
Set the base user priority does not effect current running priority .