Direct Access Transport Library Functions datevdresize(3DAT)
NAME
datevdresize - modify the size of the event queue of Event
Dispatcher
SYNOPSIS
cc [ flag... ] file... -ldat [ library... ]
#include
DATRETURN
datevdresize(
IN DATEVDHANDLE evdhandle,
IN DATCOUNT evdminqlen
)
PARAMETERS
evdhandle Handle for an instance of Event Dispatcher.
evdminqlen New number of events the Event Dispatcher
event queue must hold.
DESCRIPTION
The datevdresize() function modifies the size of the event
queue of Event Dispatcher.
Resizing of Event Dispatcher event queue should not cause
any incoming or current events on the event queue to be
lost. If the number of entries on the event queue is larger
then the requested evdminqlen, the operation can return
DATINVALIDSTATE and not change an instance of Event
Dispatcher
RETURN VALUES
DATSUCES The operation was successful.
DATINVALIDHANDLE The evdhandle parameter is
invalid.
DATINVALIDPARAMETER The evdminqlen parameter is
invalid
DATINSUFICIENTRESOURCES The operation failed due to
resource limitations
SunOS 5.11 Last change: 16 Jul 2004 1
Direct Access Transport Library Functions datevdresize(3DAT)
DATINVALIDSTATE Invalid parameter. The number
of entries on the event queue
of the Event Dispatcher
exceeds the requested event
queue length.
USAGE
This operation is useful when the potential number of events
that could be placed on the event queue changes dynamically.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Standard: uDAPL, 1.1, 1.2
MT-Level Unsafe
SEE ALSO
libdat(3LIB), attributes(5)
SunOS 5.11 Last change: 16 Jul 2004 2
|