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_SET_UNWAITABLE 3DAT "Jul 16, 2004"
9 dat_evd_set_unwaitable \- transition the Event Dispatcher into an unwaitable
14 cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldat\fR [ \fIlibrary\fR\&.\|.\|. ]
15 #include <\fBdat/udat.h\fR>
18 dat_evd_set_unwaitable(
19 IN DAT_EVD_HANDLE \fIevd_handle\fR
27 \fB\fIevd_handle\fR\fR
30 Handle for an instance of Event Dispatcher.
36 The \fBdat_evd_set_unwaitable()\fR transitions the Event Dispatcher into an
37 unwaitable state. In this state, calls to \fBdat_evd_wait\fR(3DAT) return
38 synchronously with a \fBDAT_INVALID_STATE\fR error, and threads already blocked
39 in \fBdat_evd_wait()\fR are awakened and return with a \fBDAT_INVALID_STATE\fR
40 error without any further action by the Consumer. The actual state of the Event
41 Dispatcher is accessible through \fBdat_evd_query\fR(3DAT) and is
42 \fBDAT_EVD_UNWAITABLE\fR after the return of this operation.
45 This call does not affect a CNO associated with this EVD at all. Events
46 arriving on the EVD after it is set unwaitable still trigger the CNO (if
47 appropriate), and can be retrieved with \fBdat_evd_dequeue\fR(3DAT). Because
48 events can arrive normally on the EVD, the EVD might overflow; the Consumer is
49 expected to protect against this possibility.
54 \fB\fBDAT_SUCCESS\fR\fR
57 The operation was successful.
63 \fB\fBDAT_INVALID_HANDLE\fR\fR
66 The \fIevd_handle\fR parameter is invalid.
72 See \fBattributes\fR(5) for descriptions of the following attributes:
80 ATTRIBUTE TYPE ATTRIBUTE VALUE
82 Interface Stability Standard: uDAPL, 1.1, 1.2
90 \fBdat_evd_clear_unwaitable\fR(3DAT), \fBdat_evd_dequeue\fR(3DAT),
91 \fBdat_evd_query\fR(3DAT), \fBdat_evd_wait\fR(3DAT), \fBlibdat\fR(3LIB),