Tasks delayed time processing method and system in real-time operating system
A real-time operating system and delay processing technology, applied in the direction of multi-programming devices, etc., can solve the problems of affecting the response time of task scheduling, reducing real-time performance, and heavy system burden, saving time, improving real-time performance, and improving response time. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0043] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and accompanying drawings.
[0044] FIG. 2 shows an exemplary flowchart of a task delay processing method in an embodiment of the present invention. As shown in FIG. 2 , the flowchart includes the following steps:
[0045] Step 201 , each task is added to the delay queue in ascending order of absolute delay time of the tasks, and the relative delay time between adjacent tasks in the delay queue is calculated.
[0046] In this step, when the delay queue is empty, the current task that needs to be delayed is directly added to the delay queue; otherwise, the current task that needs to be delayed is added to the delay queue in ascending order of the absolute delay time of the tasks , and calculate the relative delay time between adjacent tasks in the delay queue.
[0047] Step...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 