SLEEP_DEALLOC(D3DK) —
NAME
SLEEP_DEALLOC − deallocate an instance of a sleep lock .IX \f4SLEEP_DEALLOC\fP(D3DK)
SYNOPSIS
#include <sys/ksynch.h>
void SLEEP_DEALLOC(sleep_t ∗lockp);
ARGUMENTS
lockpPointer to the sleep lock to be deallocated.
DESCRIPTION
SLEEP_DEALLOC deallocates the lock specified by lockp.
RETURN VALUE
None.
LEVEL
Base or Interrupt.
NOTES
Does not sleep.
Attempting to deallocate a lock that is currently locked or is being waited for is an error and results in undefined behavior.
Driver defined basic locks, read/write locks, and sleep locks (other than the one being deallocated), may be held across calls to this function.
SEE ALSO
SLEEP_ALLOC(D3DK), SLEEP_LOCK(D3DK), SLEEP_LOCK_SIG(D3DK), SLEEP_LOCKAVAIL(D3DK), SLEEP_LOCKOWNED(D3DK) SLEEP_TRYLOCK(D3DK), SLEEP_UNLOCK(D3DK)
DDI/DKI