Task scheduling processing system and method of embedded real-time operating system
A real-time operating system and task scheduling technology, which is applied in the direction of electrical digital data processing, resource allocation, program control design, etc., can solve the problems of reducing the real-time performance of the system, and achieve the effect of improving processing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] A task scheduling processing system of an embedded real-time operating system, including a processor and a timer set in the processor, an interrupt controller, a scheduler, and an SVC switching module. mode, when the time timer is reduced to 0, the interrupt controller generates an interrupt, and the scheduler includes a priority scheduler and a time slice polling scheduler; the priority scheduler is used to remove from the delay queue to If the priority of the thread task with the highest priority in the ready queue is higher than that of the running thread task, the priority scheduler schedules the thread task with the highest priority in the ready queue to preempt the currently running thread Task; the time slice polling scheduler is used to judge whether the corresponding thread task time slice is exhausted, and the thread task exhausted by the time slice is moved to the tail of the same priority ready queue; the SVC switching module is used to carry out the actual t...
Embodiment 2
[0052] On the basis of the above embodiments, as a further preferred solution: the time slice polling scheduler has a maximum time limit for each polling thread task, within which the thread task can be activated, and the time slice polling The scheduler generates a scheduling judgment after the thread task runs to the specified time slice. If a thread task with the same priority is in the ready state at this time, it will give up the right to use the processor. Otherwise, the running thread task will not actively give up the right to use the processor. Processor Access.
Embodiment 3
[0054] On the basis of the above embodiments, as a further preferred solution: the scheduler is also used to actively give up the right to use the processor after the thread task is blocked, the scheduler selects the currently ready thread task to find the thread task with the highest priority, and Processor usage rights are assigned to it.
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