STREAMS-UX Programmer's Guide (February 2007)
STREAMS Utilities Supported by HP-UX
Appendix B
170
NAME
enableok () – Allows the service procedure for the specified queue to be scheduled.
SYNOPSIS
#include <sys/stream.h>
void enableok(q);
PARAMETERS
q
Queue pointer.
DESCRIPTION
This function allows the service procedure for a queue to be scheduled. It does not actually schedule the
service procedure. It simply undoes the effect of a previously executed noenable() function on this queue. If
the queue was already enabled for servicing, enableok() has no effect.
RETURN VALUES
None
CONSTRAINTS
enableok() can be called from thread or interrupt context. Only spinlocks of STREAMS/UX user lock order
can be held across this call.