首页> 外文会议>Distributed Computing; Lecture Notes in Computer Science; 4167 >Built-In Coloring for Highly-Concurrent Doubly-Linked Lists (Extended Abstract)
【24h】

Built-In Coloring for Highly-Concurrent Doubly-Linked Lists (Extended Abstract)

机译:高并发双链接列表的内置着色(扩展摘要)

获取原文
获取原文并翻译 | 示例

摘要

This paper presents a novel approach for lock-free implementations of concurrent data structures, based on dynamically maintaining a coloring of the data structure's items. Roughly speaking, the data structure's operations are implemented by acquiring virtual locks on several items of the data structure and then making the changes atomically; this simplifies the design and provides clean functionality. The virtual locks are managed with CAS or DCAS primitives, and helping is used to guarantee progress; virtual locks are acquired according to a coloring order that decreases the length of waiting chains and increases concurrency. Coming back full circle, the legality of the coloring is preserved by having operations correctly update the colors of the items they modify. The benefits of the scheme are demonstrated with new nonblocking implementations of doubly-linked list data structures: A DCAS-based implementation of a doubly-linked list allowing insertions and removals anywhere, and CAS-based implementations in which removals are allowed only at the ends of the list (insertions can occur anywhere). The implementations possess several attractive features: they do not bound the list size, they do not leave accessible chains of garbage nodes, and they allow operations to proceed concurrently, without interfering with each other, if they are applied to non-adjacent nodes in the list.
机译:本文基于动态维护数据结构项的颜色,提出了一种用于并发数据结构的无锁实现的新颖方法。粗略地讲,数据结构的操作是通过获取对数据结构几项内容的虚拟锁,然后自动进行更改来实现的。这简化了设计并提供了简洁的功能。虚拟锁由CAS或DCAS原语管理,并通过帮助来保证进度。虚拟锁是根据着色顺序获取的,着色顺序减少了等待链的长度并增加了并发性。回到整个圆圈,通过使操作正确更新其修改的项目的颜色来保留着色的合法性。该方案的好处通过双向链接列表数据结构的新非阻塞实现得到了证明:双向链接列表的基于DCAS的实现允许在任意位置插入和删除,以及仅在最后允许删除的基于CAS的实现列表中(插入可以在任何地方进行)。这些实现具有几个吸引人的功能:它们不限制列表大小,不留下可访问的垃圾节点链,并且如果将操作应用于非相邻节点中的节点,则它们允许并发进行操作而不会互相干扰。清单。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号