LOCK_DEALLOC(D3DK) —
NAME
LOCK_DEALLOC − deallocate an instance of a basic lock .IX \f4LOCK_DEALLOC\fP(D3DK)
SYNOPSIS
#include <sys/types.h>
#include <sys/ksynch.h>
void LOCK_DEALLOC(lock_t ∗lockp);
ARGUMENTS
lockpPointer to the basic lock to be deallocated.
DESCRIPTION
LOCK_DEALLOC deallocates the basic 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 will result in undefined behavior.
Driver defined basic locks (other than the one being deallocated), read/write locks, and sleep locks may be held across calls to this function.
SEE ALSO
LOCK(D3DK), LOCK_ALLOC(D3DK), TRYLOCK(D3DK), UNLOCK(D3DK)
DDI/DKI