首页> 中文期刊> 《计算机应用与软件》 >μC/OS-Ⅱ优先级反转与死锁问题的解决

μC/OS-Ⅱ优先级反转与死锁问题的解决

         

摘要

μC/OS-Ⅱ没有真正实现优先级继承协议解决优先级反转,也没有提供有效的死锁解决方法.对任务管理机制改进后,扩展了同优先级任务的时间片轮转调度算法,实现了真正的优先级继承协议;并且使用资源请求、分配矩阵来表示资源分配情况,在任务申请资源阻塞时进行死锁的检测与解除.通过性能分析与测试验证证明了改进算法的有效性和实时性.%μC/OS-Ⅱ does not realise the true priority inheritance protocol to resolve priority inversion. It does not provide an effective solution to solving deadlock either. After improving the task management mechanism, the same-priority-task time slice circular scheduling algorithm is expanded to realise the true priority inheritance protocol. Resource allocation is represented by used resource request and allocation matrix. When a task requesting a resource is blocked, its deadlock is automatically detected and resolved. Through performance analysis and test validation, the effectiveness and timeliness of the improved algorithm is proven.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号