This is Unofficial EPICS BASE Doxygen Site
osdInterrupt.c
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2002 The University of Chicago, 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 * EPICS BASE Versions 3.13.7
7 * and higher are distributed subject to a Software License Agreement found
8 * in file LICENSE that is included with this distribution.
9 \*************************************************************************/
10 /* osi/os/vxWorks/osdInterrupt.c */
11 
12 /* Author: Marty Kraimer Date: 28JAN2000 */
13 
14 #include <vxWorks.h>
15 #include <intLib.h>
16 #include <logLib.h>
17 
18 #include "epicsInterrupt.h"
19 
20 int epicsInterruptLock() {return(intLock());}
21 
22 void epicsInterruptUnlock(int key) {intUnlock(key);}
23 
24 int epicsInterruptIsInterruptContext() {return(intContext());}
25 
26 void epicsInterruptContextMessage(const char *message)
27 {
28  logMsg((char *)message,0,0,0,0,0,0);
29 }
LIBCOM_API int epicsInterruptIsInterruptContext()
Definition: osdInterrupt.c:48
LIBCOM_API void epicsInterruptUnlock(int key)
Definition: osdInterrupt.c:41
LIBCOM_API int epicsInterruptLock()
Definition: osdInterrupt.c:34
LIBCOM_API void epicsInterruptContextMessage(const char *message)
Definition: osdInterrupt.c:53