Miosix  2.0alpha1
miosix::FastInterruptDisableLock Class Reference

#include <kernel.h>

Public Member Functions

 FastInterruptDisableLock ()
 
 ~FastInterruptDisableLock ()
 

Detailed Description

This class is a RAII lock for disabling interrupts. This call avoids the error of not reenabling interrupts since it is done automatically. As opposed to InterruptDisableLock, this version doesn't support nesting

Constructor & Destructor Documentation

miosix::FastInterruptDisableLock::FastInterruptDisableLock ( )
inline

Constructor, disables interrupts.

miosix::FastInterruptDisableLock::~FastInterruptDisableLock ( )
inline

Destructor, reenables interrupts


The documentation for this class was generated from the following file: