DocumentCode :
395600
Title :
Obstruction-free synchronization: double-ended queues as an example
Author :
Herlihy, Maurice ; Luchangco, Victor ; Moir, Mark
Author_Institution :
Dept. of Comput. Sci., Brown Univ., Providence, RI, USA
fYear :
2003
fDate :
19-22 May 2003
Firstpage :
522
Lastpage :
529
Abstract :
We introduce obstruction-freedom, a new nonblocking property for shared data structure implementations. This property is strong enough to avoid the problems associated with locks, but it is weaker than previous nonblocking properties-specifically lock-freedom and wait-freedom-allowing greater flexibility in the design of efficient implementations. Obstruction-freedom admits substantially simpler implementations, and we believe that in practice it provides the benefits of wait-free and lock-free implementations. To illustrate the benefits of obstruction-freedom, we present two obstruction-free CAS-based implementations of double-ended queues (deques); the first is implemented on a linear array, the second on a circular array. To our knowledge, all previous nonblocking deque implementations are based on unrealistic assumptions about hardware support for synchronization, have restricted functionality, or have operations that interfere with operations at the opposite end of the deque even when the deque has many elements in it. Our obstruction-free implementations have none of these drawbacks, and thus suggest that it is much easier to design obstruction-free implementations than lock-free and wait-free ones. We also briefly discuss other obstruction-free data structures and operations that we have implemented.
Keywords :
data structures; storage management; synchronisation; double-ended queues; lock-free implementation; nonblocking property; obstruction-free synchronization; shared data structure implementation; wait-free implementation; Computer science; Content addressable storage; Data structures; Delay; Drives; Hardware; Laboratories; Software engineering; Sun; Yarn;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Distributed Computing Systems, 2003. Proceedings. 23rd International Conference on
ISSN :
1063-6927
Print_ISBN :
0-7695-1920-2
Type :
conf
DOI :
10.1109/ICDCS.2003.1203503
Filename :
1203503
Link To Document :
بازگشت