摘要
嵌入式实时操作系统uC/OS-Ⅱ能支持的任务数目有限,这成为了相对复杂和面向对象的系统开发中的瓶颈。为了解决这一问题,本文基于源码公开的实时操作系统UC/0S-II及内核的分析,提出对uC/OS-Ⅱ可用任务数增加的方案。对原有的内核任务优先级调度算法进行了改进,并优化了具体的任务调度实现方法,在时钟消耗增加很少的情况下,使优先级数从64个扩展到128个,能够支持更多的任务数目。
Embedded Real-time operating system UC/OS-II can only support a certain number of tasks, It has become bottleneck in a relatively complex and object-oriented system development process.In order to solve the problem.basing on open-source real-time operating system UC/OS-II and core analys, The paper proposed a program to increase the number of available tasks for UC/OS-II, The original core task priority scheduling algorithm has been improved, While optimizing realization methods of the task scheduling, Little increase in the clock consumption.the algorithm can make a priority Series expanded from 64 to 128, so that UC/OS-II can support more tasks.
出处
《微计算机信息》
2010年第23期63-65,共3页
Control & Automation