.TH unfreezestr() "" "" "DDI/DKI Kernel Routine"
.PC "Unfreeze a stream"
.B "#include <sys/stream.h>"
.B "#include <sys/types.h>"
\fBvoid unfreezestr(\fIqueue\^\fB, \fIpriority\^\fB)\fR
\fBqueue_t *\fIqueue\^\fB; pl_t \fIpriority\^\fB;\fR
.PP
.B unfreezestr()
unfreezes the stream that contains
.IR queue .
It sets the newly un-frozen stream's level of interrupt priority to
.IR priority ;
this must have been returned by the call to
.B freezestr()
with which the caller froze the stream,
unless the caller needs to set a different level of interrupt priority.
For this field's legal values, see the entry for
.B LOCK_ALLOC()
in this manual.
.SH "See Also"
.B
DDI/DKI kernel routines,
freezestr()
.R
.SH Notes
.B unfreezestr()
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.
.PP
The caller must have frozen the stream before it calls this function.
