μC/OS-Ⅱ系统中任务调度与监控机制改进  被引量:6

Improvement of Task Scheduling and Supervision Mechanism in μC/OS-Ⅱ System

在线阅读下载全文

作  者:吴永明[1] 罗海据[1] 

机构地区:[1]广东工业大学机电工程学院,广州510006

出  处:《计算机工程》2009年第12期266-268,共3页Computer Engineering

基  金:广东省科技计划基金资助项目(2005B50101011)

摘  要:针对μC/OS-Ⅱ系统的任务调度机制局限于只能按照优先级顺序执行,其任务监控机制可能因外界接口环境异常而出现死锁等问题,提出一些改进方法,包括在系统中增加一个负责任务调度的优先级最低的任务,以便灵活控制任务的调度。增加时间限制变量来控制任务的执行时间,以避免任务发生死锁时导致整个系统的崩溃。该系统已应用于一款按摩椅产品的控制系统之中,结果证明这些方法是实用可行的。In the μC/OS-Ⅱ system, the task scheduling mechanism is to execute tasks just according to the tasks' priority, and the task supervision mechanism may happen unexpected dead-lock accidents because of abnormities of interface to outside environment.In order to solve these problems, some improvement methods are proposed. A new task having the lowest priority is added to the system to take charge of task scheduling agilely, and a variable of time limitation is added to the rusk data structure to control the task running time for avoiding system breakdown when the task dead-lock happens. The improved system is applied to a massage-chair control system successfully. It illustrates the proposed methods are feasible.

关 键 词:任务调度 任务监控 嵌入式操作系统 

分 类 号:TP273[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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