/* * @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_alert.h,v $ * Revision 1.1.2.2 1992/12/15 22:25:52 alan * Insert copyright notices * [1992/12/07 19:35:46 alan] * * Revision 1.1 1992/01/19 14:38:47 devrcs * Initial revision * * $EndLog$ */ /* */ /* * Copyright (c) 1989, 1990 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 ALERT functions * * AUTHORS: * * Dave Butenhof * * CREATION DATE: * * 14 September 1989 * * MODIFICATION HISTORY: * * 001 Dave Butenhof 27 October 1989 * Make cma___attempt_delivery externally visible. * 002 Dave Butenhof 4 December 1989 * Include cma_tcb_defs.h instead of cma_tcb.h * 003 Dave Butenhof 15 August 1990 * Add new function cma__asynch_delivery, used by assembler code * to call cma__attempt_delivery with appropriate TCB (since * the assembler code doesn't have access to the macros * specifying how to get the current TCB). * 004 Paul Curtin 8 May 1991 * Added the cma__int_alert_test macro */ #ifndef CMA_ALERT #define CMA_ALERT /* * INCLUDE FILES */ #include /* * CONSTANTS AND MACROS */ /* * TYPEDEFS */ /* * GLOBAL DATA */ /* * MACROS */ /* * FUNCTIONAL DESCRIPTION: * * cma__int_alert_test - Performs work for cma_alert_test * * FORMAL PARAMETERS: * * none * * IMPLICIT INPUTS: * * none * * IMPLICIT OUTPUTS: * * none * * FUNCTION VALUE: * * none * * SIDE EFFECTS: * * none */ #define cma__int_alert_test() { \ cma__t_int_tcb *_tcb_; \ _tcb_ = cma__get_self_tcb (); \ cma__attempt_delivery (_tcb_); \ } /* * INTERNAL INTERFACES */ extern void cma__async_delivery _CMA_PROTOTYPE_ ((void)); extern void cma__attempt_delivery _CMA_PROTOTYPE_ (( cma__t_int_tcb *tcb)); /* TCB to check */ #endif /* DEC/CMS REPLACEMENT HISTORY, Element CMA_ALERT.H */ /* *6 10-JUN-1991 19:50:09 SCALES "Convert to stream format for ULTRIX build" */ /* *5 10-JUN-1991 19:19:54 BUTENHOF "Fix the sccs headers" */ /* *4 10-JUN-1991 18:16:37 SCALES "Add sccs headers for Ultrix" */ /* *3 10-MAY-1991 11:09:22 CURTIN "added cma__int_alert_test macro" */ /* *2 12-FEB-1991 01:28:35 BUTENHOF "New alert control primitives" */ /* *1 12-DEC-1990 21:40:34 BUTENHOF "alerts" */ /* DEC/CMS REPLACEMENT HISTORY, Element CMA_ALERT.H */