50#ifndef CPP_FREERTOS_NO_EXCEPTIONS
54#ifdef CPP_FREERTOS_NO_CPP_STRINGS
55#error "FreeRTOS-Addons require C++ Strings if you are using exceptions"
65#ifndef CPP_FREERTOS_NO_EXCEPTIONS
77 sprintf(
errorString,
"Semaphore Constructor Failed");
86 "Semaphore Constructor Failed %s",
info);
93 virtual const char *
what()
const throw()
139 bool Take(TickType_t Timeout = portMAX_DELAY);
155 bool TakeFromISR(BaseType_t *pxHigherPriorityTaskWoken);
164 bool GiveFromISR(BaseType_t *pxHigherPriorityTaskWoken);
BinarySemaphore(bool set=false)
CountingSemaphore(UBaseType_t maxCount, UBaseType_t initialCount)
SemaphoreCreateException(const char *info)
SemaphoreCreateException()
virtual const char * what() const
bool GiveFromISR(BaseType_t *pxHigherPriorityTaskWoken)
bool TakeFromISR(BaseType_t *pxHigherPriorityTaskWoken)
bool Take(TickType_t Timeout=portMAX_DELAY)