MCPcopy Create free account
hub / github.com/F-Stack/f-stack / _rm_wunlock

Function _rm_wunlock

freebsd/kern/kern_rmlock.c:581–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

579}
580
581void
582_rm_wunlock(struct rmlock *rm)
583{
584
585 if (rm->lock_object.lo_flags & LO_SLEEPABLE)
586 sx_xunlock(&rm->rm_lock_sx);
587 else
588 mtx_unlock(&rm->rm_lock_mtx);
589}
590
591#if LOCK_DEBUG > 0
592

Callers 1

_rm_wunlock_debugFunction · 0.70

Calls 1

mtx_unlockFunction · 0.70

Tested by

no test coverage detected