基于优先级继承协议解决μC/OS优先级逆转问题  被引量:2

Solving priority inversion problem of μC/OS based on priority inheritance protocols

在线阅读下载全文

作  者:赵跃华[1] 张文杰[1] 

机构地区:[1]江苏大学计算机科学与通信工程学院,江苏镇江212013

出  处:《计算机工程与设计》2008年第8期1990-1993,共4页Computer Engineering and Design

摘  要:针对μC/OS的特点给出了一种基于优先级继承协议解决优先级逆转问题的方案。μC/OS作为一种应用广泛的嵌入式实时操作系统,是基于优先级的可抢占的调度方案的,不可避免地存在优先级逆转的问题。解释了优先级逆转发生的原因,简单分析了解决该问题的方案,并在分析C/OS运作原理的基础上,针对μC/OS的特点实现了基于优先级继承协议的互斥向量,为解决μC/OS优先级逆转问题提出了另外一种可行的方案。最后通过2个简单的实验,在S3C4510平台验证了该方案的正确性与可行性。A specified solution is worked out for μC/OS to solve priority inversion based on priority inheritance protocols. The μC/OS, which is a widely-used embedded real-time system, is based on a preemptive priority scheduling. The priority inversion problem exists in μC/OS. While the reason of priority inversion is explained, and some solutions is simply analyzed, a priority-inheritance mutex for μC/OS is implemented based on the principle of μC/OS, which provided another solution to solve the priority inversion problem. Finally, two simple experiments validated the feasibility and correctness of this solution.

关 键 词:优先级逆转 优先级继承 优先级顶置 优先级互斥向量 嵌入式实时系统 

分 类 号:TP316.2[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象