Home  >  Article  >  What operating system is suitable for timely response to external events?

What operating system is suitable for timely response to external events?

藏色散人
藏色散人Original
2020-05-18 10:05:4110613browse

What operating system is suitable for timely response to external events?

#What operating system is suitable for timely response to external events?

Real-time operating system The operating system is suitable for situations where external events can be responded to and processed immediately.

Real-time operating system (RTOS) means that when external events or data are generated, it can accept and process them at a fast enough speed, and the results of its processing can control the production process or process within the specified time. An operating system that responds quickly to the processing system, schedules all available resources to complete real-time tasks, and controls all real-time tasks to run in a coordinated manner. Providing timely response and high reliability are its main features.

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:

● Multitasking

● Processing threads of processes that can be prioritized

● One A sufficient number of interrupt levels

is often required for a real-time operating system to be included in a small operating system as part of a micro-device. 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.

The above is the detailed content of What operating system is suitable for timely response to external events?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn