Linux is a general-purpose operating system that is commonly used in various embedded devices because of its versatility. It can be tailored to the particular hardware and is free.
Linux is not a real-time operating system and is not the best choice for implementing a hard real-time system. However, it can be used efficiently to build a soft real-time system, since it provides a real-time scheduler for time-critical applications.
In this recipe, we will learn how to use the real-time scheduler in Linux in our application.