EPICS Base  7.0.6.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
epicsInterrupt.h
1 /*************************************************************************\
2 * Copyright (c) 2009 UChicago Argonne LLC, as Operator of Argonne
3 * National Laboratory.
4 * Copyright (c) 2002 The Regents of the University of California, as
5 * Operator of Los Alamos National Laboratory.
6 * SPDX-License-Identifier: EPICS
7 * EPICS BASE is distributed subject to a Software License Agreement found
8 * in file LICENSE that is included with this distribution.
9 \*************************************************************************/
10 #ifndef epicsInterrupth
11 #define epicsInterrupth
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 #include "libComAPI.h"
18 
19 LIBCOM_API int epicsInterruptLock(void);
20 LIBCOM_API void epicsInterruptUnlock(int key);
21 LIBCOM_API int epicsInterruptIsInterruptContext(void);
22 LIBCOM_API void epicsInterruptContextMessage(const char *message);
23 
24 #ifdef __cplusplus
25 }
26 #endif
27 
28 #include "osdInterrupt.h"
29 
30 #endif /* epicsInterrupth */