计算机应用与软件2011,Vol.28Issue(8):200-202,3.
μC/OS-Ⅱ优先级反转与死锁问题的解决
SOLVING PRIORITY INVERSION AND DEADLOCK PROBLEMS IN μC/OS-Ⅱ
彭磊 1韩忠东 1马华 1马晓艳1
作者信息
- 1. 泰山医学院信息工程学院,山东,泰安,271016
- 折叠
摘要
Abstract
μ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.关键词
μC/OS-Ⅱ/优先级反转/优先级继承协议/死锁Key words
μC/OS- Ⅱ Priority inversion Priority inheritance protocol Deadlock分类
信息技术与安全科学引用本文复制引用
彭磊,韩忠东,马华,马晓艳..μC/OS-Ⅱ优先级反转与死锁问题的解决[J].计算机应用与软件,2011,28(8):200-202,3.