noenable(D3) noenable(D3)
NAME
noenable - prevent a queue from being scheduled
SYNOPSIS
#include <sys/stream.h>
#include <sys/ddi.h>
void noenable(queue_t *q);
Arguments
q Pointer 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(D3), putbq(D3), or putq(D3), when enqueuing a message
that is not a high priority message.
Return Values
None.
USAGE
The high-priority-only message restriction can be lifted with
the enableok(D3) 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(D3).
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.
The caller cannot have the stream frozen [see freezestr(D3)]
when calling this function.
REFERENCES
enableok(D3), insq(D3), putbq(D3), putq(D3), qenable(D3),
queue(D4), srv(D2)
Copyright 1994 Novell, Inc. Page 1
noenable(D3) noenable(D3)
NOTICES
Portability
All processors
Applicability
ddi: 1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp
Copyright 1994 Novell, Inc. Page 2