noenable(D3)

noenable - prevent a queue from being scheduled

As shipped in IRIX 6.5. First release of IRIX 6.5.

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.

REFERENCES
     enableok(D3), insq(D3), putbq(D3), putq(D3), qenable(D3), queue(D4),
     srv(D2)