RW_UNLOCK(D3)RW_UNLOCK(D3)NAMERW_UNLOCK - release a read/write lock
SYNOPSIS
#include <sys/ksynch.h>
#include <sys/ddi.h>
void RW_UNLOCK(rwlock_t *lockp);
Arguments
lockp Pointer to the read/write lock to be released.
DESCRIPTIONRW_UNLOCK releases the read/write lock specified by lockp. If there are
processes waiting for the lock, either one process waiting to obtain the
lock in write mode, or all processes waiting to obtain the lock read mode
will return with the lock acquired.
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.
REFERENCESRW_ALLOC(D3)RW_INIT(D3)RW_DEALLOC(D3), RW_DESTROY(D3), RW_RDLOCK(D3),
RW_WRLOCK(D3), RW_TRYRDLOCK(D3), RW_TRYWRLOCK(D3),
Page 1