RW_DEALLOC(D3) RW_DEALLOC(D3)
NAME
RW_DEALLOC - deallocate an instance of a read/write lock
SYNOPSIS
#include <sys/types.h>
#include <sys/ksynch.h>
#include <sys/ddi.h>
void RW_DEALLOC(rwlock_t *lockp);
Arguments
lockp Pointer to the read/write lock to be deallocated.
DESCRIPTION
RW_DEALLOC deallocates the read/write 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 locks, read/write locks (other than the one
being deallocated), and sleep locks may be held across calls
to this function.
REFERENCES
RW_ALLOC(D3), RW_RDLOCK(D3), RW_TRYRDLOCK(D3),
RW_TRYWRLOCK(D3), RW_UNLOCK(D3), RW_WRLOCK(D3)
NOTICES
Portability
All processors
Applicability
ddi: 5, 5mp, 6, 6mp, 7, 7mp
Copyright 1994 Novell, Inc. Page 1