FreeBSD/sys/kern/kern_umtx.c
/*
 * Disown a PI mutex, and remove it from the owned list.
 */
Disown a PI mutex, and remove it from the owned list.
Disown a PI mutex and remove it from the owned list .
static void
umtx_pi_disown(struct umtx_pi *pi)
{
	mtx_assert(&umtx_lock, MA_OWNED);
	TAILQ_REMOVE(&pi->pi_owner->td_umtxq->uq_pi_contested, pi, pi_link);
	pi->pi_owner = NULL;
}
static void umtx_pi_disown ( struct umtx_pi * pi ) { mtx_assert ( & umtx_lock , MA_OWNED ) ; TAILQ_REMOVE ( & pi -> pi_owner -> td_umtxq -> uq_pi_contested , pi , pi_link ) ; pi -> pi_owner = NULL ; }
Disown a PI mutex, and remove it from the owned list.
Disown a PI mutex and remove it from the owned list .