µOS++ IIIe Reference  v6.3.15
“Perfekt ist nicht gut genug”
The third edition of µOS++, a POSIX inspired open source system, written in C++.
os::rtos::port::interrupts Namespace Reference

Classes

class  critical_section
 
class  uncritical_section
 

Functions

bool in_handler_mode (void)
 Check if the CPU is in handler mode. More...
 

Function Documentation

◆ in_handler_mode()

bool os::rtos::port::interrupts::in_handler_mode ( void  )
inline

Check if the CPU is in handler mode.

Parameters
None.
Return values
trueExecution is in an exception handler context.
falseExecution is in a thread context.
Note
Can be invoked from Interrupt Service Routines (obviously).

Definition at line 1091 of file os-sched.h.