|
CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
|
Class that implements the locking concept but does not perform locking. More...
#include <locks.hh>
Public Member Functions | |
| bool | try_lock (TimeoutArgument timeout) |
| Attempt to acquire the lock with a timeout. | |
| bool | try_lock () |
| Try to acquire the lock, do not block. | |
| void | lock () |
| Acquire the lock. | |
| void | unlock () |
| Release the lock. | |
Class that implements the locking concept but does not perform locking.
This is intended to be used with templated data structures that support locking, for instantiations that do not require locking.
|
inline |
|
inline |
|
inline |
|
inline |