μC/OSⅡ事件标志组中存在的问题及解决方法  被引量:2

Existing Problems of Event Flags of μC/OSⅡ and Solutions

在线阅读下载全文

作  者:朱旭东[1] 张健[1] 

机构地区:[1]广东海洋大学软件学院,湛江524088

出  处:《计算机工程》2009年第5期278-279,282,共3页Computer Engineering

基  金:广东省高等教育教学改革工程基金资助项目(BKYBJG20060257);广东海洋大学2008教育教改基金资助项目(XJG200818)

摘  要:针对μC/OSⅡ中当多个任务同时满足一个事件标志组时,μC/OSⅡ提供的2种解决冲突方法都存在问题,该文提出分类比较的方法,根据事件标志组的等待类型分类,通过比较事件标志组的过滤器来决定多个任务是否使用同一个事件标志组,从根本上避免了多个任务同时满足一个事件标志组的情况出现,结果证明该方法解决了μC/OSⅡ中多个任务同时满足一个事件标志组时出现的冲突问题。When various conditions in the waiting list meet the need of an event flag simultaneously, uC/OS Ⅱ offers two solutions to resolve conflicts. However both the solutions provided by uC/OS Ⅱ have serious defects when analyzed closely. In order to resolve the conflict, this paper puts forward the method of classification and comparison. It classifies event flags according to waiting types, and compares the filters of event flags to decide whether various conditions use the same event flag, thus avoids radically the conflict that various conditions in the waiting list meet the need of an event flag Simultaneously. The result shows that the method of classification and comparison can completely solve the problem.

关 键 词:嵌入式操作系统 事件标志组 等待类型 过滤器 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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