2 .\" This manual page is derived from the DAT/uDAPL 1.2 specification.
3 .\" Portions Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH DAT_EVD_RESIZE 3DAT "Jul 16, 2004"
9 dat_evd_resize \- modify the size of the event queue of Event Dispatcher
13 cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldat\fR [ \fIlibrary\fR\&.\|.\|. ]
14 #include <\fBdat/udat.h\fR>
18 IN DAT_EVD_HANDLE \fIevd_handle\fR,
19 IN DAT_COUNT \fIevd_min_qlen\fR
27 \fB\fIevd_handle\fR\fR
30 Handle for an instance of Event Dispatcher.
36 \fB\fIevd_min_qlen\fR\fR
39 New number of events the Event Dispatcher event queue must hold.
45 The \fBdat_evd_resize()\fR function modifies the size of the event queue of
49 Resizing of Event Dispatcher event queue should not cause any incoming or
50 current events on the event queue to be lost. If the number of entries on the
51 event queue is larger then the requested evd_min_qlen\fI\fR, the operation can
52 return \fBDAT_INVALID_STATE\fR and not change an instance of Event Dispatcher
57 \fB\fBDAT_SUCCESS\fR\fR
60 The operation was successful.
66 \fB\fBDAT_INVALID_HANDLE\fR\fR
69 The \fIevd_handle\fR parameter is invalid.
75 \fB\fBDAT_INVALID_PARAMETER\fR\fR
78 The \fIevd_min_qlen\fR parameter is invalid
84 \fB\fBDAT_INSUFFICIENT_RESOURCES\fR\fR
87 The operation failed due to resource limitations
93 \fB\fBDAT_INVALID_STATE\fR\fR
96 Invalid parameter. The number of entries on the event queue of the Event
97 Dispatcher exceeds the requested event queue length.
103 This operation is useful when the potential number of events that could be
104 placed on the event queue changes dynamically.
108 See \fBattributes\fR(5) for descriptions of the following attributes:
116 ATTRIBUTE TYPE ATTRIBUTE VALUE
118 Interface Stability Standard: uDAPL, 1.1, 1.2
126 \fBlibdat\fR(3LIB), \fBattributes\fR(5)