2004 · 144 citations · 18 references
ComputingComputer EngineeringComputer ScienceData StructuresDistributed SystemsFault ToleranceConcurrency ControlData SynchronizationDistributed StorageLinked ListsSkip ListsSynchronization PrimitivesDistributed Data StructuresLinked List AlgorithmsLock-free AlgorithmsLock-free Data StructuresLock-free Skip ListsMutual ExclusionShared-memory Data StructuresSingly Linked Lists
Lock-free shared data structures implement distributed objects without the use of mutual exclusion, thus providing robustness and reliability. We present a new lock-free implementation of singly-linked lists. We prove that the worst-case amortized cost of the operations on our linked lists is linear in the length of the list plus the contention, which is better than in previous lock-free implementations of this data structure. Our implementation uses backlinks that are set when a node is deleted so that concurrent operations visiting the deleted node can recover. To avoid performance problems that would arise from traversing long chains of backlink pointers, we introduce flag bits, which indicate that a deletion of the next node is underway. We then give a lock-free implementation of a skip list dictionary data structure that uses the new linked list algorithms to implement individual levels. Our algorithms use the single-word C&S synchronization primitive.
18
Ion Stoica, Robert Morris, David R. Karger et al. · 2001 · 9.7K citations
Maurice Herlihy · ACM Transactions on Programming Languages and Systems · 1991 · 1.8K citations · Full text
Self-adjusting binary search trees
Daniel D. Sleator, Robert E. Tarjan · Journal of the ACM · 1985 · 1.2K citations · Full text
Skip lists: a probabilistic alternative to balanced trees
William Pugh · Communications of the ACM · 1990 · 1.2K citations · Full text