首页> 外文期刊>Theory of computing systems >Built-in Coloring for Highly-Concurrent Doubly-Linked Lists
【24h】

Built-in Coloring for Highly-Concurrent Doubly-Linked Lists

机译:内置着色的高并发双链接列表

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

摘要

This paper presents a novel approach for highly-concurrent nonblocking implementations of doubly-linked lists, based on dynamically maintaining a coloring of the nodes in the list. In these implementations, operations on non-adjacent nodes in the linked-list proceed without interfering with each other. Roughly speaking, the operations are implemented by acquiring nodes in the operation's data set, in the order of their colors, and then making the changes atomically. The length of waiting chains is restricted, thereby increasing concurrency, because the colors are taken from a small set. Operations carefully update the colors of the nodes they modify, so neighboring nodes in the list have different colors. A helping mechanism ensures progress in small neighborhoods of processes that keep taking steps. We use this approach in two new algorithms: CAS-Chromo uses an unary conditional primitive, CAS, and allows insertions anywhere in the linked list and removals only at the ends, while DCAS-Chromo allows insertions and removals anywhere but uses a stronger primitive, DCAS.
机译:本文基于动态维护列表中节点的颜色,提出了一种新的方法来实现双链接列表的高并发性非阻塞实现。在这些实现中,在链表中非相邻节点上的操作继续进行而不会互相干扰。粗略地说,这些操作是通过按颜色顺序获取操作数据集中的节点,然后进行原子更改来实现的。等待链的长度受到限制,从而增加了并发性,因为颜色是从很小的一组中获取的。操作会仔细更新它们修改的节点的颜色,因此列表中的相邻节点具有不同的颜色。一种帮助机制可确保在不断采取措施的小范围流程中取得进展。我们在两种新算法中使用了这种方法:CAS-Chromo使用一元条件原语CAS,并允许在链表中的任何位置进行插入和删除,而仅在结尾处进行删除;而DCAS-Chromo允许在任何位置进行插入和删除,但使用更强的原语, DCAS。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号