###
DOI:
计算机系统应用英文版:2012,21(3):125-129
本文二维码信息
码上扫一扫!
改进型锁无关双端队列的设计与实现
(1.中国科学院 沈阳计算技术研究所,沈阳 110168;2.中国科学院 研究生院,北京 100049)
Design and Realization of the Improved Lock-free Double-Ended Queue
(1.Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang 110168, China;2.Graduate University, Chinese Academy of Sciences, Beijing 100039, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1580次   下载 3122
Received:July 12, 2011    Revised:August 22, 2011
中文摘要: 高性能实时系统对系统性能、确定性和容错性有着更高的要求。非阻塞同步在任务同步方面满足要求,实现方法之一就是设计锁无关数据结构。介绍了设计锁无关数据结构算法的关键技术,通过对已有算法不足的分析提出了一种改进型的锁无关双端队列算法,介绍了对该算法的实验分析和实际应用。实验结果表明,该算法提高了访问双端队列的执行速度,并避免了多任务间同步引发的死锁、优先级逆转、低容错性等缺点。
中文关键词: 非阻塞同步  锁无关  双端队列  RTAI
Abstract:High-performance real-time system has higher requirement for system performance, certainty and fault tolerance. Non-blocking synchronization meets the requirement in task synchronization, one of the methods of achieving non-blocking synchronization is to design lock-free data structure. This paper introduces the key technology for designing lock-free data structure algorithm, presents an improved lock-free double-ended queue algorithm by the analysis of the existing algorithm shortage, and introduces the experimental analysis and practical application of the algorithm. Experimental results show that the algorithm improves the execution speed for accessing double-ended queue, and avoids deadlocks, priority inversion and low fault tolerance caused by multitask synchronization.
文章编号:     中图分类号:    文献标志码:
基金项目:国家科技重大专项(2011ZX04016-071)
引用文本:
杨东升,张连法.改进型锁无关双端队列的设计与实现.计算机系统应用,2012,21(3):125-129
YANG Dong-Sheng,ZHANG Lian-Fa.Design and Realization of the Improved Lock-free Double-Ended Queue.COMPUTER SYSTEMS APPLICATIONS,2012,21(3):125-129