#include <kernel.h>
This class allows to temporarily restart kernel in a scope where it is paused with an InterruptDisableLock.
Example:
{
PauseKernelLock dLock;
{
}
}
Constructor, restarts kernel.
- Parameters
-
l | the PauseKernelLock that disabled interrupts. Note that this parameter is not used internally. It is only required to prevent erroneous use of this class by making an instance of it without an active PauseKernelLock |
miosix::RestartKernelLock::~RestartKernelLock |
( |
| ) |
|
|
inline |
Destructor. Disable back interrupts.
The documentation for this class was generated from the following file: