InterruptStatus()
Determine whether or not interrupts are enabled
Synopsis:
#include <sys/neutrino.h> unsigned InterruptStatus( void );
Since:
BlackBerry 10.0.0
Library:
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
Description:
The InterruptStatus() function indicates whether or not interrupts are currently enabled.
Returns:
0 if interrupts are disabled, or a nonzero value (not necessarily 1) if they're enabled.
Classification:
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |
Last modified: 2014-06-24