qenable(D3)

qenable - schedule a queue's service routine to be run

As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.

NAME
     qenable - schedule a queue's service routine to be run

SYNOPSIS
     #include <sys/stream.h>
     #include <sys/ddi.h>
     void qenable(queue_t *q);

   Arguments
     q         Pointer to the queue.

DESCRIPTION
     qenable puts the queue pointed to by q on the linked list of those whose
     service routines are ready to be called by the STREAMS scheduler.

   Return Values
     None

USAGE
     qenable works regardless of whether the service routine has been disabled
     by a prior call to noenable(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.

   Examples
     See enableok(D3) for an example of qenable.

REFERENCES
     enableok(D3), noenable(D3), queue(D4), srv(D2)