qenable(D3DK) —
.IX \f4qenable\fP(D3DK)
NAME
qenable − schedule a queue’s service routine to be run
SYNOPSIS
#include <sys/stream.h>
void qenable(queue_t ∗q);
ARGUMENTS
qPointer 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. qenable works regardless of whether the service routine has been disabled by a previous call to noenable(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), noenable(D3DK), queue(D4DK)
EXAMPLE
See enableok(D3DK) for an example of the qenable.
DDI/DKI — STREAMS