RAII object for disabling, then restoring, interrupt state Usage: More...
#include <CriticalSectionLock.h>
Public Member Functions | |
void | lock () |
Mark the start of a critical section. More... | |
void | unlock () |
Mark the end of a critical section. More... | |
Static Public Member Functions | |
static void | enable () |
Mark the start of a critical section. More... | |
static void | disable () |
Mark the end of a critical section. More... | |
RAII object for disabling, then restoring, interrupt state Usage:
Definition at line 58 of file CriticalSectionLock.h.
|
static |
Mark the end of a critical section.
Definition at line 103 of file CriticalSectionLock.h.
|
static |
Mark the start of a critical section.
Definition at line 96 of file CriticalSectionLock.h.
void lock | ( | void | ) |
Mark the start of a critical section.
Replaced by static function CriticalSectionLock::enable.
Definition at line 77 of file CriticalSectionLock.h.
void unlock | ( | void | ) |
Mark the end of a critical section.
Replaced by static function CriticalSectionLock::enable.
Definition at line 89 of file CriticalSectionLock.h.