Go to main content

man pages section 9: DDI and DKI Kernel Functions

Exit Print View

Updated: Thursday, June 13, 2019
 
 

noenable(9F)

Name

noenable - prevent a queue from being scheduled

Synopsis

#include <sys/stream.h>
#include <sys/ddi.h>

void noenable(queue_t *q);

Interface Level

Architecture independent level 1 (DDI/DKI).

Parameters

q

Pointer to the queue.

Description

The noenable() function prevents the q from being scheduled for service by insq(9F), putq(9F) or putbq(9F) when enqueuing an ordinary priority message. The queue can be re-enabled with the enableok(9F) function.

Context

The noenable() function can be called from user, interrupt, or kernel context.

See Also

putbq(9F), enableok(9F), insq(9F), putq(9F), qenable(9F)

Writing Device Drivers in Oracle Solaris 11.4

STREAMS Programming Guide