SLEEP_UNLOCK(D3)SLEEP_UNLOCK(D3)NAMESLEEP_UNLOCK - release a sleep lock
SYNOPSIS
#include <sys/ksynch.h>
#include <sys/ddi.h>
void SLEEP_UNLOCK(sleep_t *lockp);
Arguments
lockp Pointer to the sleep lock to be released.
DESCRIPTIONSLEEP_UNLOCK releases the sleep lock specified by lockp. If there are
processes waiting for the lock, one of the waiting processes is awakened.
Return Values
None
USAGE
Level
Base or Interrupt.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks may be held
across calls to this function.
REFERENCESSLEEP_ALLOC(D3), SLEEP_INIT(D3), SLEEP_DEALLOC(D3), SLEEP_DESTROY(D3),
SLEEP_LOCK(D3), SLEEP_LOCK_SIG(D3), SLEEP_LOCKAVAIL(D3),
SLEEP_TRYLOCK(D3),
Page 1