DCAS-based concurrent deques
Ole Agesen, David Detlefs, Christine H. Flood et al. · ACM Symposium on Parallel Algorithms and Architectures (SPAA) · 2000
The computer industry is currently examining the use of strong synchronization operations such as double compare-and-swap (DCAS) as a means of supporting non-blocking synchronization on tomorrow's multiprocessor machines. However, before such a strong primitive will be incorporated into hardware design, its utility needs to be proven by developing a body of effective non-blocking data structures using DCAS. As part of this effort, we present two new linearizable non-blocking implementations of concurrent deques using the DCAS operation. The first uses an array representation, and improves on former algorithms by allowing uninterrupted concurrent access to both ends of the deque while correctly handling the difficult boundary cases when the deque is empty or full. The second uses a linked-list representation, and is the first non-blocking unbounded-memory deque implementation. It too allows uninterrupted concurrent access to both ends of the deque.
Cited by 37 works. doi:10.1145/341800.341817
Authors
References
- The Art of Computer Programming
- Introduction to Algorithms
- Computer Architecture: A Quantitative Approach
- The Art of Computer Programming. Volume 1: Fundamental Algorithms.
- The Java Language Specification
- Linearizability: a correctness condition for concurrent objects
- Computer architecture (2nd ed.): a quantitative approach
- Computer Architecture: A Quantitative Approach, 2nd Edition
- Wait-free synchronization
- Transactional memory