Method and device for dynamically adjusting priority
A dynamic adjustment and priority technology, applied in the field of operating systems, can solve problems such as high-priority tasks cannot be run in time, and achieve the effect of avoiding priority inversion
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] Such as figure 1 As shown, the embodiment of this specification provides a method for dynamically adjusting priority, and the method includes:
[0052] S100: When the first task sends a request to acquire the target resource, determine whether the first task sends the request to acquire the target resource for the first time;
[0053] In this embodiment, the real-time operating system schedules tasks according to the task priority, and the task scheduler that gives priority to high-priority tasks to execute always deactivates a task that has the highest priority among all tasks and is in the ready state. State task, let it execute.
[0054] S200: When the first task sends out a request for acquiring the target resource for the first time, acquire the task priority of the first task, the dynamic priority of the target resource, and the second task currently occupying the target resource;
[0055] In a specific implementation manner, in step S200, when the first task se...
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