A simple and correct shared-queue algorithm using compare-and-swap
Janice M. Stone · Proceedings - Supercomputing · 2002
A compare-and-swap shared-queue algorithm is presented that permits concurrent access. This algorithm is nondelaying in that no processor need wait for an action by another processor. A verification method that analyzes the states of the shared data structure is given. By drawing a graph that incorporates in a simple way the effects of multiprocessor interleaving, one can quickly find errors in an algorithm or produce a proof of correctness. Since enqueue and dequeue operations may begin at any time, concurrent queue operations are represented by providing, in each state of the shared data structure, one transition that initiates an enqueue operation and another transition for a dequeue operation. The method is a practical one that is applicable to a variety of algorithms that use shared data structures.>
Cited by 10 works. doi:10.1109/superc.1990.130060
Authors
References
- Proving the Correctness of Multiprocess Programs
- Solution of a problem in concurrent programming control
- A new solution of Dijkstra's concurrent programming problem
- Basic Techniques for the Efficient Coordination of Very Large Numbers of Cooperating Sequential Processors
- An exercise in proving parallel programs correct
- A methodology for implementing highly concurrent data structures
- Introduction to computer architecture
- Debugging concurrent processes: a case study
- Operating system data structures for shared memory mimd machines with fetch-and-add
- SMARTS: Shared Memory Multiprocessor Ada Run Time Supervisor