unfreezestr(D3) unfreezestr(D3)
NAME
unfreezestr - unfreeze the state of a stream
SYNOPSIS
#include <sys/types.h>
#include <sys/stream.h>
#include <sys/ddi.h>
void unfreezestr(queue_t *q, pl_t pl);
Arguments
q Pointer to a message queue.
pl The interrupt priority level to be set (if the
implementation requires that interrupts be blocked
in order to prevent deadlock) after unfreezing the
stream.
DESCRIPTION
unfreezestr unfreezes the state of the stream containing the
queue specified by q and sets the interrupt priority level to
the value specified by pl. Unfreezing the stream allows
continuation of all activities that were forced to wait while
the stream was frozen.
Return Values
None
USAGE
See LOCK_ALLOC(D3) for a list of valid values for pl. pl
should be the value that was returned from the corresponding
call to freezestr(D3) unless the caller has a specific need to
set some other interrupt priority level. Although portable
drivers must always specify an appropriate pl argument,
implementations which do not require that the interrupt
priority level be raised while the stream is frozen may choose
to ignore this argument.
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.
Copyright 1994 Novell, Inc. Page 1
unfreezestr(D3) unfreezestr(D3)
Examples
See insq(D3) for an example of unfreezestr.
REFERENCES
freezestr(D3)
NOTICES
Portability
All processors
Applicability
ddi: 3, 5, 5mp, 6, 6mp, 7, 7mp
Copyright 1994 Novell, Inc. Page 2