检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]中国电子科技集团公司第54研究所,河北石家庄050081
出 处:《计算机与网络》2010年第7期55-57,共3页Computer & Network
摘 要:介绍了生产者-消费者模型在程序开发中经常要考虑的情景。其设计涉及了多任务操作系统中的同步机制,即操作系统为避免多个任务访问相同资源时可能引发的竞争所进行的并发控制,包括任务的互斥、同步。讨论了需要互斥的根本原因及同步的机制,并在Linux内核空间、用户空间及VxWorks下实现生产者-消费者模型中的同步机制。Producer-consumer model is classical scene in the program development. Its design concerns synchronization mechanism which deals with the competition and synchronization caused by multi-tasks accessing the critical regions in multi-tasks operating system to achieve accurate program execution. The paper discusses the causes of competition and the difference of synchronization mechanism between Linux and VxWorks. Under the model of producer-consumer, the synchronization mechanism application is implemented.
关 键 词:LINUX操作系统 VXWORKS操作系统 同步机制 互斥
分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.117