LOCK_DEALLOC(D3) LOCK_DEALLOC(D3)
NAME
LOCK_DEALLOC - deallocate an instance of a basic lock
SYNOPSIS
#include <sys/types.h>
#include <sys/ksynch.h>
#include <sys/ddi.h>
void LOCK_DEALLOC(lock_t *lockp);
Arguments
lockp Pointer to the basic lock to be deallocated.
DESCRIPTION
LOCK_DEALLOC deallocates the basic lock specified by lockp.
Return Values
None.
USAGE
Attempting to deallocate a lock that is currently locked or is
being waited for is an error and will result in undefined
behavior.
Level
Base or Interrupt.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks (other than the one being
deallocated), read/write locks, and sleep locks may be held
across calls to this function.
REFERENCES
LOCK(D3), LOCK_ALLOC(D3), TRYLOCK(D3), UNLOCK(D3)
NOTICES
Portability
All processors
Applicability
ddi: 5, 5mp, 6, 6mp, 7, 7mp
Copyright 1994 Novell, Inc. Page 1