.TH RW_UNLOCK() "" "" "DDI/DKI Kernel Routine"
.PC "Release a read/write lock"
.B "#include <sys/ksynch.h>"
.B "#include <sys/types.h>"
\fBvoid RW_UNLOCK(\fIlock\^\fB, \fIpriority\^\fB)\fR
\fBrwlock_t *\fIlock\^\fB; \fBpl_t \fIpriority\^\fB;\fR
.PP
.B RW_UNLOCK()
releases the basic
.IR lock ,
and sets the level of interrupt priority to
.IR priority .
.SH "See Also"
.B
DDI/DKI kernel routines
.R
.SH Notes
.B RW_UNLOCK
has base or interrupt level.
It does not sleep.
.PP
A driver can hold a
driver-defined basic lock, read/write lock, or sleep lock
across a call to this function.
