modm API documentation
|
When created suspends all real time kernel activity while keeping interrupts (including the kernel tick) enabled. More...
#include <modm/processing/rtos/thread.hpp>
When created suspends all real time kernel activity while keeping interrupts (including the kernel tick) enabled.
After creating a instance the calling thread will continue to execute without risk of being swapped out until the destruction of the lock instance.
API functions that have the potential to cause a context switch (for example, delay()) must not be called while the scheduler is suspended.