期刊文献+

实时多任务操作系统优先级反转与预防 被引量:4

Priority Inversion and Prevention in Real-Time Multitasking Operating Systems
下载PDF
导出
摘要 实时多任务操作系统相对于其他操作系统而言,需要有更快的对外部事件的反应能力。因此,选择一种合适 的任务调度算法非常重要。本文分析了时间片轮转的优先级抢占任务调度算法,以及控制共享资源访问的信号量机制。 如果多个任务访问共享资源,可能会导致优先级反转。最后,提出了解决优先级反转的途径:优先级继承。试验证明,该方 法行之有效。<正>1 INTRODUCTION pro印se an approaeh to solvi呢priority inverslon,whieh一s of priority inheritanee. Modern real--tirne systems are based on the eomple- menta斗ooneepts of multitaski眼and intertask eornmu扭ea- tions仁,〕.In eom俘rison with A real-time multitasking operating system requires much more rapid response to external events than other operating systems. So it is very important to select an appropriate task scheduling algorithm. In this paper, a round-robin preemptive priority scheduling algorithm is analyzed, which will lead to priority inversion when multiple tasks seeking access to shared resources use the semaphore mechanism. Priority inheritance is proposed to resolve the problem whose efficiency and practicability have been proved in our practice and examination.
出处 《计算机工程与科学》 CSCD 2005年第2期62-64,共3页 Computer Engineering & Science
基金 国家863计划资助项目(863-306-ZT05-02-4)
关键词 实时多任务操作系统 任务调度算法 优先级反转 信号量机制 real-time multitasking operating system preemptive priority priority inversion
  • 相关文献

参考文献5

  • 1J L Hennessy, D A DPatterson. Computer Architecture: A Quantities Approach. Second Edition[M]. Morgan Kaufmann Publishers Inc, 1996.
  • 2Y Seo, J Park, S Hong. Supporting Preemptive User-Level Threads for Embedded Real-Time Systems[R]. SNU EETechnical Report, SNU-EE-TR-98-1,1998.
  • 3H Dierks. Synthesizing Controllers from Real-Time Specifi cations[J]. IEEE Trans on Computer-Aided Design of Integrated Circuits and Systems, 1999,18(1): 33-43.
  • 4Jorn Migge. Real-Time Scheduling:A Trajectory Based Model: [PhD Thesis][D]. University of Nice, 1999.
  • 5D M Dhamdhere. Systems Programming and Operating Systems[M]. Beijing: Tsinghua University Press, 2001.

同被引文献18

引证文献4

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部