Introduction to RTOS - Real-Time Operating Systems

A RTOS or Real-Time Operating System is an OS that can perform time-sensitive tasks with exact timing to guarantee predictability and stability.

Unlike an RTOS, general purpose operating systems (Windows, MacOS, and Linux) are meant to perform a variety of tasks without adhering to any strict timing requirements. A general purpose operating system prioritizes system usability and multitasking capabilities, instead of task prioritization using a deterministic scheduler.

The task scheduler in an RTOS is based on priority levels set by the user. As the RTOS runs, the scheduler will check these priority levels and performs tasks with the highest priority first. Some tasks in an RTOS may depend on the completion of others and require synchronization mechanisms (mutexes or semaphores). The best way to think of an RTOS is like a chore list. You may prioritize cleaning a space first, then throwing away the trash second, and lastly you could wash the dishes. If we look at task one and task two, the priority makes sense from the standpoint you might trash things as you clean, making these task 2 dependent on task one.

A real autonomous vehicles, for instance, an RTOS would be in charge of handling movement, reading sensors, and reporting telemetry data. These tasks must take place within a deterministic window of time, whereas with operating systems like Windows, macOS, and Linux, their task scheduling is non-deterministic.

Next
Next

Automating call transfers with a Panasonic PBX