期刊文献+

用Vx Works的信号量机制实现任务同步 被引量:3

VxWorks Semaphore Applied in Task Synchronization
在线阅读 下载PDF
导出
摘要 为了保证诸任务对临界critical资源resource的互斥访问,VxWorks提供了任务同步机制。二进制信号量是Vx Works系统中实现任务同步的一种重要手段,它保证了任务在并发时结果的一致性。简要介绍二进制信号量,阐述用二进制信号量解决任务互斥和同步的方法,并给出二进制信号量应用在某数据采集系统中的程序框架。某数据采集系统中有效地利用了VxWorks的信号量机制,实现了8个接收通道的数据采集、数据存储以及数据查询等任务对缓冲区的共享。 Task synchronization for VxWorks to access critical resource mutually is applied.Binary semaphore is an important method to realizing synchronization in VxWorks.The result consistent is improved when tasks are executed.The paper introduces binary-semaphore,researches the techniques of solving mutex and synchronization,and presents the program frame in X-data gathering system,which use semaphore to control the data gathering,stroing and quering tasks of 8-receiveing channels sharing the buffer.
出处 《微机发展》 2004年第7期43-44,共2页 Microcomputer Development
  • 相关文献

参考文献3

  • 1孔祥营 柏桂枝.嵌入式实时操作系统VxWorks及其开发环境Tornado[M].北京:中国电力出版社,2000..
  • 2汤子瀛 哲凤屏 等.计算机操作系统[M].西安:西安电子科技大学出版社,2000..
  • 3罗国庆.VxWorks与嵌人式软件开发[M].北京:机械工业出版社,2003.

共引文献15

同被引文献28

引证文献3

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部