FreeRTOS - RTOS Fundamentals
Consider this FreeRTOS code snippet:
void vTaskFunction(void *pvParameters) {
for (;;) {
if (xSemaphoreTake(xSemaphore, 0) == pdTRUE) {
// Critical section
} else {
vTaskDelay(pdMS_TO_TICKS(100));
}
}
}What is the state of the task when vTaskDelay() is called?
