FreeBSD/sys/kern/sched_ule.c
/*
 * Variadic version of thread_lock_unblock() that does not assume td_lock
 * is blocked.
 */
Variadic version of thread_lock_unblock() that does not assume td_lock
is blocked.
Variadic version of thread_lock_unblock () that does not assume td_lock is blocked .
static inline void
thread_unblock_switch(struct thread *td, struct mtx *mtx)
{
	atomic_store_rel_ptr((volatile uintptr_t *)&td->td_lock,
	    (uintptr_t)mtx);
}
static inline void thread_unblock_switch ( struct thread * td , struct mtx * mtx ) { atomic_store_rel_ptr ( ( volatile uintptr_t * ) & td -> td_lock , ( uintptr_t ) mtx ) ; }
Variadic version of thread_lock_unblock() that does not assume td_lock
 is blocked.
Variadic version of thread_lock_unblock () that does not assume td_lock is blocked .