GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / V2-12-2 > pbs / mv2304
#include <intLib.h>
Functions | |
INT__EXP_FNC int | INT__context (void) |
Return non-zero if a interrupt level. | |
INT__EXP_FNC int | INT__lock (void) |
Locks interrupts. | |
INT__EXP_FNC void | INT__unlock (int key) |
Unlocks the interrrupts. |
CVS $Id: INT.ih.vx-xxx-xxx,v 1.3 2004/12/07 16:13:06 russell Exp $
INT__EXP_FNC 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__EXP_FNC int INT__lock | ( | void | ) |
Locks interrupts.
A | key to be passed to the INT__unlock routine |
Referenced by lock_que(), LSU_atomicCalc(), LSU_atomicScale(), RW__lock(), RW__lock2(), RW__tmr_lock(), RW__tmr_wait(), RW__wait(), WCT__aticks_to_pticks(), WCT__diff_aticksL(), wct__get(), WCT__pticks_to_aticks(), and WUT_sys_handler().
INT__EXP_FNC 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(), LSU_atomicScale(), RW__tmr_unlock(), RW__unlock(), RW__unlock2(), RW__wait(), unlock_que(), WCT__aticks_to_pticks(), WCT__diff_aticksL(), wct__get(), WCT__pticks_to_aticks(), and WUT_sys_handler().