arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Computer Science · Computer Networks and Communications

Non-Blocking Algorithms for Concurrent Data Structures

Sundeep Prakash, Yann-hang Lee, Theodore Johnson

See on the map

Abstract

Non-blocking algorithms for concurrent data structure guarantee that a data structure is always accessible, in contrast to blocking algorithms in which a slow or halted process can render part or all of the data structure inaccessible to other processes. In this paper, we first develop a method to design non-blocking algorithms for any concurrent data structure, using the compare&swap operation as the basic synchronization primitive. We use the example of queues to demonstrate the method. In this general method, many processes are allowed to concurrently access the data structure, but modifications to the data structure are made in serial order. We then deal with the problem of increasing the achieved concurrency of access (number of modifications that can be simultaneously made) to the data structure. For increasing the achieved concurrency in the general case, we give a method to convert any locking algorithm into a non-blocking algorithm. This transformation is done by h...

More like this