40 #ifndef SEMAPHORE_HPP_ 41 #define SEMAPHORE_HPP_ 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);
SemaphoreCreateException(const char *info)
SemaphoreCreateException()
virtual const char * what() const