Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network

  Advanced Search  

Builtin Coloring for HighlyConcurrent DoublyLinked Lists # (Preliminary Version)

Summary: Built­in Coloring for Highly­Concurrent Doubly­Linked Lists #
(Preliminary Version)
Hagit Attiya and Eshcar Hillel
Department of Computer Science
September 11, 2006
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


Source: Attiya, Hagit - Department of Computer Science, Technion, Israel Institute of Technology


Collections: Computer Technologies and Information Sciences