SVR5 and SCO OpenServer 5
noenable(D3str)
noenable --
prevent a queue from being scheduled
Synopsis
#include <sys/stream.h>
#include <sys/ddi.h>
void noenable(queue_t *q);
Description
The noenable function prevents the service routine of
the queue pointed to by q from being scheduled
for service by
insq(D3str),
putbq(D3str),
or
putq(D3str),
when
enqueuing a message that is not a high priority message.
Arguments
q-
Pointer to the queue.
Return values
None.
Usage
The high-priority-only message restriction can be lifted
with the
enableok(D3str)
function.
noenable does not prevent the queue's service routine from being scheduled
when a high priority message is enqueued, or by
an explicit call to
qenable(D3str).
Context
Base or Interrupt.
Synchronization constraints
Does not block.
Driver-defined basic locks, read/write locks, and sleep locks
may be held across calls to this function.
The caller cannot have the stream frozen
(see
freezestr(D3str))
when calling this function.
Hardware applicability
All
Version applicability
ddi:
1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp
oddi:
1, 2, 2mp, 3, 3mp, 4, 4mp, 5, 5mp, 6, 6mp
References
enableok(D3str),
insq(D3str),
putbq(D3str),
putq(D3str),
qenable(D3str),
queue(D4str),
srv(D2str)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005