The SchedulerGuard class This class implements RAII-based control of the scheduler's global state. Upon object construction, the scheduler's state is cached locally and the scheduler is disabled (if not already disabled). Upon object destruction, the scheduler's previous state is restored. This object is interrupt-safe, although it has no effect when called from an interrupt given that interrupts are inherently higher-priority than threads.
More...
#include <schedulerguard.h>
The SchedulerGuard class This class implements RAII-based control of the scheduler's global state. Upon object construction, the scheduler's state is cached locally and the scheduler is disabled (if not already disabled). Upon object destruction, the scheduler's previous state is restored. This object is interrupt-safe, although it has no effect when called from an interrupt given that interrupts are inherently higher-priority than threads.
Definition at line 37 of file schedulerguard.h.
◆ SchedulerGuard()
Mark3::SchedulerGuard::SchedulerGuard |
( |
| ) |
|
|
inline |
◆ ~SchedulerGuard()
Mark3::SchedulerGuard::~SchedulerGuard |
( |
| ) |
|
|
inline |
◆ m_bSchedState
bool Mark3::SchedulerGuard::m_bSchedState |
|
private |
The documentation for this class was generated from the following file: