The goal pursued by a real-time operating system is rapid response. A real-time operating system is an operating system that guarantees the completion of specific functions within a certain time limit. Requirements for a real-time operating system: 1. Multitasking; 2. Process lines that can be prioritized; 3. A sufficient number of interrupt levels.
#The goal pursued by a real-time operating system is rapid response.
(windows operating system tutorial: windows)
What is a real-time operating system?
A real-time operating system is an operating system that guarantees the completion of specific functions within a certain time limit. Real-time operating systems are divided into hard real-time and soft real-time. Hard real-time requires that the operation must be completed within a specified time, which is guaranteed during the design of the operating system; soft real-time only needs to complete the operation as quickly as possible according to the priority of the task. That’s it. The operating system we usually use can become a real-time operating system after certain changes.
For example, an operating system can be designed to ensure that a robot on a production line can obtain an object. In a "hard" real-time operating system, if the calculations to make the object reachable cannot be completed within the allowed time, the operating system will terminate with an error. In a "soft" real-time operating system, the production line can still continue to work, but the output of the product will be slowed down because the product does not arrive within the allowed time, which causes the robot to have a short period of non-production.
Some real-time operating systems are designed for specific applications, others are general-purpose. Some general purpose operating systems call themselves real-time operating systems. But to some extent, most general-purpose operating systems, such as Microsoft's Windows NT or IBM's OS/390, have real-time system characteristics. That is, even if an operating system is not strictly a real-time system, they can solve some real-time application problems.
In general, a real-time operating system (RTOS) requires:
Multi-tasking
Processing that can be prioritized Process lines
A sufficient number of interrupt levels
Small operating systems that are included as part of a tiny device often require real-time operations system. Some core issues can be considered to meet the requirements of a real-time operating system. However, a real-time operating system is usually larger than the kernel because other components, such as device drivers, are often required in special ways.
Related recommendations: macos
The above is the detailed content of What is the goal pursued by a real-time operating system?. For more information, please follow other related articles on the PHP Chinese website!