μC/OS-Ⅱ任务调度的改进与实现  被引量:2

Improvement and Implement of Context Switch in μC/OS-Ⅱ

在线阅读下载全文

作  者:王海燕[1] 

机构地区:[1]西安石油大学,陕西西安710065

出  处:《现代电子技术》2006年第14期41-43,共3页Modern Electronics Technique

摘  要:介绍了μC/OSⅡ嵌入式实时操作系统的特点,分析了单一的基于优先级调度算法存在的不足。根据嵌入式应用的实时性要求不同,将应用划分为实时任务、分时任务和后台任务3种类型。针对分时任务新增的时间片调度算法,给出调度算法的实现方法,并增加了任务创建和销毁的接口。降低了基于μC/OSⅡ操作系统嵌入式产品的开发难度和设计成本,有利于该操作系统的应用推广。The paper introduces the characteristic of embedded RTOS-μC/OS- Ⅱ , and analyzes the disadvantage in single task scheduling algorithm based on priority level. According to the real-time request level of embedded application,this paper presents a new arithmetic to partition task space into three segments, real-time task, share-time task and background task. To add a time slice scheduling algorithm in share-time task,and creates new interfaces about task creating and destroying. This paper decreases the difficulty and cost in design and developing embedded product based on μtC/OS-Ⅱ ,and is propitious to widely using of μC/OSⅡ.

关 键 词:μC/OS-Ⅱ 嵌入式操作系统 任务调度 任务控制块  时间片调度算法 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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