如何实现无锁跳跃列表

编程入门 行业动态 更新时间:2024-10-22 11:21:24
本文介绍了如何实现无锁跳跃列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我需要实现一个无锁跳跃列表。我试图寻找论文。不幸的是我所发现的是无锁单链表(许多种)。但是如何实现无锁跳跃列表?

I need to implement a lock-free skip list. I tried to look for papers. Unfortunatly all I found was lock-free single linked lists (in many flavors). However how to implement lock-free skip list?

推荐答案

无锁的跳跃列表在书中的艺术的多处理器编程和技术报告实用锁定自由,它是基于一个博士论文的主题。跳跃列表开始讨论第53页示例实现,基于这些资源上,包括在这个谷歌code ++项目。

Lock-free skip lists are described in the book The Art of Multiprocessor Programming, and the technical report Practical lock-freedom, which is based on a PhD thesis on the subject. The skip list discussion begins on page 53. An example implementation, based on these sources, is included in this google code project.

有相关的讨论,在做题链接到文学和实现(不一定是无锁)的跳转列表与二叉树和跳转列表 - 使用过他们? / A>。

There are related discussions, links to literature and implementations (not necessarily lock-free) in the SO questions Skip List vs. Binary Tree, and Skip Lists - ever used them?.

更多推荐

如何实现无锁跳跃列表

本文发布于:2023-11-30 20:02:58,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1651330.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何实现   列表

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!