Priority processing method and processing apparatus for task
A processing method and technology of a processing device, applied in the directions of multi-programming device, electrical digital data processing, program control design, etc., capable of solving problems such as task2 blocking, task1 execution delay, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0074] The first embodiment of the present application proposes a task priority processing method. figure 1 Shown is a step flow chart of the task priority processing method of the first embodiment of this application.
[0075] Such as figure 1 As shown, an embodiment of the present application proposes a priority processing method for tasks. The tasks include a first task, a second task, and a third task. The priority of the first task is higher than the priority of the second task and The third task; the method includes the following steps:
[0076] S101: When the first task is blocked due to failure to access the first critical region, increase the priority of a second task that shares the first critical region with the first task and is accessing the first critical region;
[0077] In this step, referring to the execution step 9 of the above procedure 1 and the execution step 5 of the procedure 2, according to the priority inheritance method, the priority of the second task can b...
no. 2 example
[0104] The second embodiment of the present application proposes a task priority processing method. figure 2 Shown is a flowchart of the steps of a task priority processing method according to the second embodiment of this application. Such as figure 2 As shown, an embodiment of the present application proposes a priority processing method for tasks. The tasks include a first task, a second task, and a third task. The priority of the first task is higher than the priority of the second task and The third task; the method includes the following steps:
[0105] S201: When the first task is blocked due to failure to access the first critical region, increase the priority of a second task that shares the first critical region with the first task and is accessing the first critical region;
[0106] S202: Determine whether there is a third task that shares the second critical area with the second task and is accessing the second critical area;
[0107] S203: When the third task exists, ...
no. 3 example
[0130] The third embodiment of the present application proposes a task priority processing device, image 3 It is a block diagram of a task priority processing device in the third embodiment of the present application. Such as image 3 As shown, the tasks include a first task, a second task, and a third task, and the first task has a higher priority than the second task and the third task; the device includes:
[0131] The first priority change module 301 is used for when the first task is blocked due to the failure to access the first critical area, promote those who share the first critical area with the first task and are accessing the first critical area The priority of the second task;
[0132] Referring to the execution step 9 of program 1 and the execution step 5 of program 2, according to the priority inheritance method, the priority of the second task can be raised to the same as the first task when the following conditions are met:
[0133] 1. The priority of the second ta...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com