29 #ifndef ETL_MUTEX_FREERTOS_INCLUDED
30 #define ETL_MUTEX_FREERTOS_INCLUDED
32 #include "../platform.h"
50 access = xSemaphoreCreateMutexStatic(&mutex_allocation);
55 xSemaphoreTake(access, portMAX_DELAY);
60 return xSemaphoreTake(access, 0) == pdTRUE;
65 xSemaphoreGive(access);
73 StaticSemaphore_t mutex_allocation;
75 SemaphoreHandle_t access;
This mutex class is implemented using FreeRTOS's mutexes.
Definition: mutex_freertos.h:44
Definition: absolute.h:37