Firmware · RTOS: tasks and scheduling
A real-time operating system lets a device do several jobs at once, and each job gets its own context to run in.