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

Function sleepq_release

freebsd/kern/subr_sleepqueue.c:293–300  ·  view source on GitHub ↗

* Unlock the sleep queue chain associated with a given wait channel. */

Source from the content-addressed store, hash-verified

291 * Unlock the sleep queue chain associated with a given wait channel.
292 */
293void
294sleepq_release(const void *wchan)
295{
296 struct sleepqueue_chain *sc;
297
298 sc = SC_LOOKUP(wchan);
299 mtx_unlock_spin(&sc->sc_lock);
300}
301
302/*
303 * Places the current thread on the sleep queue for the specified wait

Callers 15

cv_destroyFunction · 0.85
_cv_waitFunction · 0.85
_cv_wait_unlockFunction · 0.85
_cv_wait_sigFunction · 0.85
_cv_timedwait_sbtFunction · 0.85
_cv_timedwait_sig_sbtFunction · 0.85
cv_signalFunction · 0.85
cv_broadcastpriFunction · 0.85
foffset_lockFunction · 0.85
foffset_unlockFunction · 0.85
sx_downgrade_intFunction · 0.85
kern_sx.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected