|
CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
|
Synchronisation state for run-once functions. More...
#include <locks.h>
Public Member Functions | |
| _Atomic (enum OnceStateMachineStatesOnceStateMachineStates) state | |
Synchronisation state for run-once functions.
This must be initialised to 0 (OnceStateNotRun) in C code. This happens automatically for globals and almost all correct uses of this type are in globals.