/* * @OSF_COPYRIGHT@ * COPYRIGHT NOTICE * Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc. * ALL RIGHTS RESERVED (DCE). See the file named COPYRIGHT.DCE in the * src directory for the full copyright text. */ /* * HISTORY * $Log: cma_cond_defs.h,v $ * Revision 1.1.2.3 1992/12/15 22:26:16 alan * Insert copyright notices * [1992/12/07 19:36:22 alan] * * Revision 1.1.2.2 1992/09/03 15:05:47 bolinger * Move file from nosupport/threads_bl10 area into threads area. * [1992/09/03 15:04:01 bolinger] * * Revision 1.1.2.2 1992/05/08 22:51:27 bolinger * BL10 CMA sources from DEC. * [1992/05/08 22:51:13 bolinger] * * $EndLog$ */ /* * %W% (ULTRIX/OSF) %G% */ /* * Copyright (c) 1991 by * Digital Equipment Corporation, Maynard Massachusetts. * All rights reserved. * * This software is furnished under a license and may be used and copied * only in accordance with the terms of such license and with the * inclusion of the above copyright notice. This software or any other * copies thereof may not be provided or otherwise made available to any * other person. No title to and ownership of the software is hereby * transferred. * * The information in this software is subject to change without notice * and should not be construed as a commitment by DIGITAL Equipment * Corporation. * * DIGITAL assumes no responsibility for the use or reliability of its * software on equipment which is not supplied by DIGITAL. */ /* * FACILITY: * * CMA services * * ABSTRACT: * * Header file for mutex operations * * AUTHORS: * * Dave Butenhof * * CREATION DATE: * * 22 November 1991 * * MODIFICATION HISTORY: * */ #ifndef CMA_COND_DEFS #define CMA_COND_DEFS /* * INCLUDE FILES */ #include #include #include #include /* * CONSTANTS AND MACROS */ /* * TYPEDEFS */ typedef struct CMA__T_INT_CV { cma__t_object header; /* Common header (sequence, type) */ cma__t_int_attr *attributes; /* Back link */ cma__t_atomic_bit event; /* Clear when may be waiters */ cma__t_semaphore semaphore; /* Semaphore for condition wait */ } cma__t_int_cv; /* * GLOBAL DATA */ /* * INTERNAL INTERFACES */ #endif /* DEC/CMS REPLACEMENT HISTORY, Element CMA_COND_DEFS.H */ /* *1 22-NOV-1991 13:27:47 BUTENHOF "Condition variable struct" */ /* DEC/CMS REPLACEMENT HISTORY, Element CMA_COND_DEFS.H */