Miosix
2.0alpha1
|
#include <kernel.h>
Public Member Functions | |
InterruptDisableLock () | |
~InterruptDisableLock () | |
This class is a RAII lock for disabling interrupts. This call avoids the error of not reenabling interrupts since it is done automatically.
|
inline |
Constructor, disables interrupts.
|
inline |
Destructor, reenables interrupts