'\" te .\" This manual page is derived from the DAT/uDAPL 1.2 specification. .\" Portions Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. .TH dat_evd_post_se 3DAT "16 Jul 2004" "SunOS 5.11" "Direct Access Transport Library Functions" .SH NAME dat_evd_post_se \- post Software event to the Event Dispatcher event queue .SH SYNOPSIS .LP .nf cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldat\fR [ \fIlibrary\fR\&.\|.\|. ] #include <\fBdat/udat.h\fR> DAT_RETURN dat_evd_post_se( IN DAT_EVD_HANDLE \fIevd_handle\fR, IN const DAT_EVENT *\fIevent\fR ) .fi .SH PARAMETERS .sp .ne 2 .mk .na \fB\fIevd_handle\fR\fR .ad .RS 14n .rt Handle for an instance of the Event Dispatcher .RE .sp .ne 2 .mk .na \fB\fIevent\fR\fR .ad .RS 14n .rt A pointer to a Consumer created Software Event. .RE .SH DESCRIPTION .sp .LP The \fBdat_evd_post_se()\fR function posts Software events to the Event Dispatcher event queue. This is analogous to event arrival on the Event Dispatcher software Event Stream. The \fIevent\fR that the Consumer provides adheres to the event format as defined in <\fBdat.h\fR>. The first element in the \fIevent\fR provides the type of the event (\fBDAT_EVENT_TYPE_SOFTWARE\fR); the rest provide the event-type-specific parameters. These parameters are opaque to a Provider. Allocation and release of the memory referenced by the \fIevent\fR pointer in a software event are the Consumer's responsibility. .sp .LP There is no ordering between events from different Event Streams. All the synchronization issues between multiple Consumer contexts trying to post events to an Event Dispatcher instance simultaneously are left to a Consumer. .sp .LP If the event queue is full, the operation is completed unsuccessfully and returns \fBDAT_QUEUE_FULL\fR. The \fIevent\fR is not queued. The queue overflow condition does takes place and, therefore, the asynchronous Event Dispatcher is not effected. .SH RETURN VALUES .sp .ne 2 .mk .na \fB\fBDAT_SUCCESS\fR\fR .ad .RS 25n .rt The operation was successful. .RE .sp .ne 2 .mk .na \fB\fBDAT_INVALID_HANDLE\fR\fR .ad .RS 25n .rt The \fIevd_handle\fR parameter is invalid. .RE .sp .ne 2 .mk .na \fB\fBDAT_INVALID_PARAMETER\fR\fR .ad .RS 25n .rt The \fIevent\fR parameter is invalid. .RE .sp .ne 2 .mk .na \fB\fBDAT_QUEUE_FULL\fR\fR .ad .RS 25n .rt The Event Dispatcher queue is full. .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Interface StabilityCommitted _ MT-LevelUnsafe _ StandarduDAPL, 1.1, 1.2 .TE .SH SEE ALSO .sp .LP \fBlibdat\fR(3LIB), \fBattributes\fR(5)