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_CNO_FREE 3DAT "Jul 16, 2004"
9 dat_cno_free \- destroy an instance of the CNO
13 cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldat\fR [ \fIlibrary\fR\&.\|.\|. ]
14 #include <\fBdat/udat.h\fR>
18 IN DAT_CNO_HANDLE \fIcno_handle\fR
26 \fB\fIcno_handle\fR\fR
29 Handle for an instance of the CNO
35 The \fBdat_cno_free()\fR function destroys a specified instance of the CNO.
38 A CNO cannot be deleted while it is referenced by an Event Dispatcher or while
39 a thread is blocked on it.
44 \fB\fBDAT_SUCCESS\fR\fR
47 The operation was successful.
53 \fB\fBDAT_INVALID_HANDLE\fR\fR
56 The \fBcno_handle()\fR parameter is invalid.
62 \fB\fBDAT_INVALID_STATE\fR\fR
65 Parameter in an invalid state. CNO is in use by an EVD instance or there is a
72 If there is a thread blocked in \fBdat_cno_wait\fR(3DAT), the Consumer can do
73 the following steps to unblock the waiter:
78 Create a temporary EVD that accepts software events. It can be created in
85 For a CNO with the waiter, attach that EVD to the CNO and post the software
92 This unblocks the CNO.
98 Repeat for other CNOs that have blocked waiters.
104 Destroy the temporary EVD after all CNOs are destroyed and the EVD is no longer
110 See \fBattributes\fR(5) for descriptions of the following attributes:
118 ATTRIBUTE TYPE ATTRIBUTE VALUE
120 Interface Stability Standard: uDAPL, 1.1, 1.2
128 \fBdat_cno_wait\fR(3DAT), \fBlibdat\fR(3LIB), \fBattributes\fR(5)