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_POST_SE 3DAT "Jul 16, 2004"
9 dat_evd_post_se \- post Software event to the Event Dispatcher event queue
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 const DAT_EVENT *\fIevent\fR
27 \fB\fIevd_handle\fR\fR
30 Handle for an instance of the Event Dispatcher
39 A pointer to a Consumer created Software Event.
45 The \fBdat_evd_post_se()\fR function posts Software events to the Event
46 Dispatcher event queue. This is analogous to event arrival on the Event
47 Dispatcher software Event Stream. The \fIevent\fR that the Consumer provides
48 adheres to the event format as defined in <\fBdat.h\fR>. The first element in
49 the \fIevent\fR provides the type of the event (\fBDAT_EVENT_TYPE_SOFTWARE\fR);
50 the rest provide the event-type-specific parameters. These parameters are
51 opaque to a Provider. Allocation and release of the memory referenced by the
52 \fIevent\fR pointer in a software event are the Consumer's responsibility.
55 There is no ordering between events from different Event Streams. All the
56 synchronization issues between multiple Consumer contexts trying to post events
57 to an Event Dispatcher instance simultaneously are left to a Consumer.
60 If the event queue is full, the operation is completed unsuccessfully and
61 returns \fBDAT_QUEUE_FULL\fR. The \fIevent\fR is not queued. The queue overflow
62 condition does takes place and, therefore, the asynchronous Event Dispatcher is
68 \fB\fBDAT_SUCCESS\fR\fR
71 The operation was successful.
77 \fB\fBDAT_INVALID_HANDLE\fR\fR
80 The \fIevd_handle\fR parameter is invalid.
86 \fB\fBDAT_INVALID_PARAMETER\fR\fR
89 The \fIevent\fR parameter is invalid.
95 \fB\fBDAT_QUEUE_FULL\fR\fR
98 The Event Dispatcher queue is full.
104 See \fBattributes\fR(5) for descriptions of the following attributes:
112 ATTRIBUTE TYPE ATTRIBUTE VALUE
114 Interface Stability Standard: uDAPL, 1.1, 1.2
122 \fBlibdat\fR(3LIB), \fBattributes\fR(5)