SYNOPSIS

INTERFACE LEVEL

PARAMETERS

DESCRIPTION

enableok() enables queue q to be rescheduled for service. It reverses the effect of a previous call to noenable(9F) on q by turning off the QNOENB flag in the queue.

CONTEXT

enableok() can be called from user or interrupt context.

EXAMPLES

Example 1 Using emableok()

The qrestart() routine uses two STREAMS functions to restart a queue that has been disabled. The enableok() function turns off the QNOENB flag, allowing the qenable(9F) to schedule the queue for immediate processing.