CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
Loading...
Searching...
No Matches
OnceState Struct Reference

Synchronisation state for run-once functions. More...

#include <locks.h>

Public Member Functions

 _Atomic (enum OnceStateMachineStatesOnceStateMachineStates) state

Detailed Description

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.

Definition at line 130 of file locks.h.


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