51 #ifndef CPP_FREERTOS_NO_EXCEPTIONS 54 configASSERT(!
"Tasklet Constructor Failed");
69 xSemaphoreTake(
DtorLock, portMAX_DELAY);
77 tasklet->
Run(parameter);
83 TickType_t CmdTimeout)
87 xSemaphoreTake(
DtorLock, portMAX_DELAY);
105 BaseType_t *pxHigherPriorityTaskWoken)
109 rc = xSemaphoreTakeFromISR(
DtorLock, pxHigherPriorityTaskWoken);
118 pxHigherPriorityTaskWoken);
void CheckForSafeDelete()
bool ScheduleFromISR(uint32_t parameter, BaseType_t *pxHigherPriorityTaskWoken)
bool Schedule(uint32_t parameter, TickType_t CmdTimeout=portMAX_DELAY)
virtual void Run(uint32_t parameter)=0
SemaphoreHandle_t DtorLock
static void TaskletAdapterFunction(void *ref, uint32_t parameter)