46#if FREERTOSCPP_USE_NAMESPACE
62 bool take(TickType_t wait)
override;
74 bool take(TickType_t wait)
override;
160 bool readLock(TickType_t wait = portMAX_DELAY);
170 bool reservedLock(TickType_t wait = portMAX_DELAY);
177 bool requestReserved();
181 bool releaseReserved();
190 bool writeLock(TickType_t wait = portMAX_DELAY);
196#if FREERTOSCPP_USE_CHRONO
197 bool readLock(Time_ms delay_ms) {
return readLock(ms2ticks(delay_ms)); }
198 bool reservedLock(Time_ms delay_ms) {
return reservedLock(ms2ticks(delay_ms)); }
199 bool writeLock(Time_ms delay_ms) {
return writeLock(ms2ticks(delay_ms)); }
218 TaskHandle_t reserved =
nullptr;
227#if FREERTOSCPP_USE_NAMESPACE
FreeRTOS Event Group Wrapper.
A Base class to provide block based locking capability.
Definition Lock.h:58
Read/Write Lock control.
Definition ReadWrite.h:125
EventGroup event
Definition ReadWrite.h:202
Reader & rlock()
Get Read Lockable.
Definition ReadWrite.h:135
Writer & wlock()
Get Write Lockable.
Definition ReadWrite.h:141
Read-Write Lock Read Side Lockability Base.
Definition ReadWrite.h:57
Reader()
Definition ReadWrite.h:60
Read-Write Write Side Lockability Base.
Definition ReadWrite.h:69
Writer()
Definition ReadWrite.h:72
Definition FreeRTOScpp.h:74