29#ifndef ETL_MUTEX_FREERTOS_INCLUDED
30#define ETL_MUTEX_FREERTOS_INCLUDED
49 access = xSemaphoreCreateMutexStatic(&mutex_allocation);
54 xSemaphoreTake(access, portMAX_DELAY);
59 return xSemaphoreTake(access, 0) == pdTRUE;
64 xSemaphoreGive(access);
73 StaticSemaphore_t mutex_allocation;
76 SemaphoreHandle_t access;
This mutex class is implemented using CMSIS's RTOS2 mutexes.
Definition mutex_cmsis_os2.h:43
bitset_ext
Definition absolute.h:39
std::mutex mutex
This mutex class is implemented using std::mutex.
Definition mutex_std.h:42