40#include "freertos-config.h"
52#ifndef CPP_FREERTOS_NO_EXCEPTIONS
56#ifdef CPP_FREERTOS_NO_CPP_STRINGS
57#error "FreeRTOS-Addons require C++ Strings if you are using exceptions"
66#ifndef CPP_FREERTOS_NO_EXCEPTIONS
78 sprintf(errorString,
"Mutex Constructor Failed");
85 virtual const char *
what()
const throw()
126 virtual bool Lock(TickType_t Timeout = portMAX_DELAY) = 0;
192 virtual bool Lock(TickType_t Timeout = portMAX_DELAY);
204#if (configUSE_RECURSIVE_MUTEXES == 1)
240 virtual bool Lock(TickType_t Timeout = portMAX_DELAY);
Definition: mutex.hpp:264
~LockGuard()
Definition: cmutex.cpp:124
MutexCreateException()
Definition: mutex.hpp:76
virtual const char * what() const
Definition: mutex.hpp:85
Definition: mutex.hpp:109
Mutex()
Definition: cmutex.cpp:46
SemaphoreHandle_t handle
Definition: mutex.hpp:151
virtual ~Mutex()
Definition: cmutex.cpp:51
virtual bool Lock(TickType_t Timeout=portMAX_DELAY)=0
Definition: mutex.hpp:219
MutexRecursive()
Definition: cmutex.cpp:87
virtual bool Lock(TickType_t Timeout=portMAX_DELAY)
Definition: cmutex.cpp:101
virtual bool Unlock()
Definition: cmutex.cpp:108
Definition: mutex.hpp:171
virtual bool Lock(TickType_t Timeout=portMAX_DELAY)
Definition: cmutex.cpp:71
MutexStandard()
Definition: cmutex.cpp:57
virtual bool Unlock()
Definition: cmutex.cpp:78
Definition: condition_variable.hpp:57