检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《微机发展》2004年第7期43-44,共2页Microcomputer Development
摘 要:为了保证诸任务对临界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.
关 键 词:VXWORKS 信号量机制 任务同步 临界资源 互斥访问 二进制信号量 系统吞吐量 资源利用率
分 类 号:TP316[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.249