GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / V2-12-1 > pbs / rhel5-64
#include <PBI/Inline.h>
#include <PBS/impl/INT.ih.xx-xxx-xxx>
Defines | |
#define | INT__EXP_PROTO static inline |
Export Prototype spec. | |
#define | INT__LCL_PROTO INLINE_USR_LCL_PROTO |
Internal Prototype spec. | |
#define | INT__EXP_FNC INLINE_USR_EXP_FNC |
Export Function declaration. | |
#define | INT__LCL_FNC INLINE_USR_LCL_FNC |
Internal Function declaration. | |
Functions | |
INT__EXP_PROTO int | INT__context (void) |
Return non-zero if a interrupt level. | |
INT__EXP_PROTO int | INT__lock (void) |
Locks interrupts. | |
INT__EXP_PROTO void | INT__unlock (int key) |
Unlocks the interrrupts. |
CVS $Id: INT.ih,v 1.6 2011/03/24 23:05:42 apw Exp $
These routines are just the inline versions of the VxWorks intLock and intUnlock routines. These services can really only be provided on PPC. The implementation is dependent on the GNU compiler.
int INT__context | ( | void | ) |
Return non-zero if a interrupt level.
!= | 0, if at interrupt level | |
== | 0, if not at interrupt level (i.e. at task level) |
int INT__lock | ( | void | ) |
Locks interrupts.
A | key to be passed to the INT__unlock routine |
Referenced by LSU_atomicCalc(), and LSU_atomicScale().
void INT__unlock | ( | int | key | ) |
Unlocks the interrrupts.
key | The key to unlock the interrupt. This is the return value of INT_lock(). |
Referenced by LSU_atomicCalc(), and LSU_atomicScale().