Mark3 Realtime Kernel
schedulerguard.h File Reference

RAII Scheduler Locking. More...

#include "mark3cfg.h"
#include "scheduler.h"

Go to the source code of this file.

Classes

class  Mark3::SchedulerGuard
 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...
 

Namespaces

 Mark3
 

Detailed Description

RAII Scheduler Locking.

Definition in file schedulerguard.h.