STREAMS-UX Programmer's Guide (February 2007)
STREAMS Utilities Supported by HP-UX
Appendix B
201
NAME
qenable () – Schedule service procedure to run.
SYNOPSIS
#include <sys/stream.h>
void qenable (queue_t *q);
PARAMETERS
q
Pointer to the queue whose service procedure is to be scheduled.
DESCRIPTION
qenable() places the specified queue in a linked list of queues whose corresponding service procedure is to be
executed by the STEAMS scheduler. When invoked, this function ignores the noenable() status of the queue,
and schedules the service procedure.
RETURN VALUES
None
CONSTRAINTS
qenable() can be called from thread or interrupt context. Only spinlocks of STREAMS/UX user lock order
can be held across this call.