Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Kernel Functions for Driversnoenable(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

 

noenable() prevents the queue 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

 

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

SEE ALSO

 

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

Writing Device Drivers

STREAMS Programming Guide


SunOS 5.9Go To TopLast Changed 11 Apr 1991

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.