29#ifndef ETL_MUTEX_CMSIS_RTOS2_INCLUDED
30#define ETL_MUTEX_CMSIS_RTOS2_INCLUDED
32#include "../platform.h"
49 osMutexAttr_t attr = {
"ETL", osMutexRecursive | osMutexPrioInherit | osMutexRobust, 0, 0 };
50 id = osMutexNew(&attr);
55 osMutexAcquire(
id, osWaitForever);
60 return osMutexAcquire(
id, 0) == osOK;
This mutex class is implemented using CMSIS's RTOS2 mutexes.
Definition: mutex_cmsis_os2.h:43
bitset_ext
Definition: absolute.h:38