|
CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
|
State for a recursive mutex. More...
#include <locks.h>

Public Attributes | |
| struct FlagLockState | lock |
| The underlying lock. | |
| uint16_t | depth |
| The count of the times the lock has been acquired by the same thread. | |
State for a recursive mutex.
Recursive mutexes allow a single thread to acquire the lock multiple times.
| uint16_t RecursiveMutexState::depth |
The count of the times the lock has been acquired by the same thread.
This must be initialised to 0.
Definition at line 57 of file locks.h.
Referenced by xSemaphoreCreateRecursiveMutexStatic().
| struct FlagLockState RecursiveMutexState::lock |
The underlying lock.
Definition at line 52 of file locks.h.
Referenced by uxSemaphoreGetCount(), xSemaphoreCreateRecursiveMutexStatic(), and xSemaphoreGetMutexHolder().