noenable(D3DK) —
.IX \f4noenable\fP(D3DK)
NAME
noenable − prevent a queue from being scheduled
SYNOPSIS
#include <sys/stream.h>
#include <sys/ddi.h>
void noenable(queue_t ∗q);
ARGUMENTS
qPointer to the queue.
DESCRIPTION
The noenable function prevents the service routine of the queue pointed to by q from being scheduled for service by insq(D3DK), putbq(D3DK), or putq(D3DK), when enqueuing a message that is not a high priority message. This restriction can be lifted with the enableok(D3DK) function.
noenable does not prevent the queue’s service routine from being scheduled when a high priority message is enqueued, or by an explicit call to qenable(D3DK).
RETURN VALUE
None.
LEVEL
Base or Interrupt.
NOTES
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks may be held across calls to this function.
SEE ALSO
srv(D2DK), enableok(D3DK), insq(D3DK), putbq(D3DK), putq(D3DK), qenable(D3DK), queue(D4DK)
DDI/DKI — STREAMS