Back to Search Start Over

A simple deterministic algorithm for guaranteeing the forward progress of transactions

Authors :
Charles E. Leiserson
Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory
Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science
Leiserson, Charles E
Source :
Other univ. web domain
Publication Year :
2016
Publisher :
Elsevier BV, 2016.

Abstract

This paper describes a remarkably simple deterministic (not probabilistic) contention-management algorithm for guaranteeing the forward progress of transactions - avoiding deadlocks, livelocks, and other anomalies. The transactions must be finite (no infinite loops), but on each restart, a transaction may access different shared-memory locations. The algorithm supports irrevocable transactions as long as the transaction satisfies a simple ordering constraint. In particular, a transaction that accesses only one shared-memory location is never aborted. The algorithm is suitable for both hardware and software transactional-memory systems. It also can be used in some contexts as a locking protocol for implementing transactions "by hand." HighlightsA remarkably simple algorithm can guarantee the forward progress of transactions.The algorithm supports irrevocable transactions.The algorithm is suitable for hardware or software transactional-memory systems.The algorithm can be used as a locking protocol.

Details

ISSN :
03064379
Volume :
57
Database :
OpenAIRE
Journal :
Information Systems
Accession number :
edsair.doi.dedup.....d4da05beb05aa2847be3814c8b1206e4
Full Text :
https://doi.org/10.1016/j.is.2015.10.013