摘要
抢占式调度是RTOS的一个重要的调度策略,它保证了嵌入式系统的实时性。合理地分配任务的优先级和使用系统资源将会大大提高系统的性能。而解决优先级反转问题将保证系统共享资源的合理使用和多任务的正常运行。在对RTOS抢占式调度策略的研究的基础上,指出了什么是优先级反转,以及问题发生的原因,并给出了优先级继承和优先级封顶的解决方法。
Scheduling based on preemptive priority is an important policy of real-time OS, which can assure the task with high priority implemented first. System performance will be improved with proper task priority and resource assignment. Solving priority inversion will maintain shared resource used orderly and multi-task run smoothly. Researching on the preemptive priority, it is pointed out that priority inversion is potential risk in an embedded system with RTOS. It also makes explanation and provides methods for that.
出处
《计算机工程与设计》
CSCD
北大核心
2007年第19期4719-4720,4731,共3页
Computer Engineering and Design