FreeBSD/sys/kern/kern_umtx.c
/*
 * Adjust a thread's order position in its blocked PI mutex,
 * this may result new priority propagating process.
 */
Adjust a thread's order position in its blocked PI mutex,
this may result new priority propagating process.
Adjust a thread ' s order position in its blocked PI mutex this may result new priority propagating process .
void
umtx_pi_adjust(struct thread *td, u_char oldpri)
{
	struct umtx_q *uq;
	struct umtx_pi *pi;
	uq = td->td_umtxq;
	mtx_lock(&umtx_lock);
	pi = uq->uq_pi_blocked;
	if (pi != NULL) {
		umtx_pi_adjust_thread(pi, td);
		umtx_repropagate_priority(pi);
	}
	mtx_unlock(&umtx_lock);
}
void umtx_pi_adjust ( struct thread * td , u_char oldpri ) { struct umtx_q * uq ; struct umtx_pi * pi ; uq = td -> td_umtxq ; mtx_lock ( & umtx_lock ) ; pi = uq -> uq_pi_blocked ; if ( pi != NULL ) { umtx_pi_adjust_thread ( pi , td ) ; umtx_repropagate_priority ( pi ) ; } mtx_unlock ( & umtx_lock ) ; }
Adjust a thread's order position in its blocked PI mutex,
 this may result new priority propagating process.
Adjust a thread ' s order position in its blocked PI mutex this may result new priority propagating process .
/*
	 * Pick up the lock that td is blocked on.
	 */