qenable(D3) qenable(D3)
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.
The caller cannot have the stream frozen [see freezestr(D3)]
when calling this function.
Examples
See enableok(D3) for an example of qenable.
REFERENCES
enableok(D3), noenable(D3), queue(D4), srv(D2)
NOTICES
Portability
All processors
Copyright 1994 Novell, Inc. Page 1
qenable(D3) qenable(D3)
Applicability
ddi: 1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp
Copyright 1994 Novell, Inc. Page 2