RTOS - Real Time Operating System FreeRTOS is integrated into ESP-IDF, and allows multi-threading (called tasks)

Tasks Usually implemented as infiinite loops Can block on events, can give events

Scheduling algorithm