DocumentCode :
2984483
Title :
Moverness for Locks and Transactions
Author :
Barnett, Granville ; Qin, Shengchao
fYear :
2012
fDate :
4-6 July 2012
Firstpage :
185
Lastpage :
192
Abstract :
Locks are pervasive in multithreaded code. For software transactional memory (STM) to be widely adopted there must be a consensus on a semantics for programs that entail both locks and transactions, particularly for weakly isolated STMs. For instance, in a weakly isolated STM, use of both locks and transactions to access the same data may introduce data races. In response we present a simple and intuitive semantics that guarantees ordered linearisation points for conflicting locks and transactions. Our approach allows us to classify the moverness of locks and transactions, making reasoning about parallel compositions trivial. Under our semantics we show locks to be left movers and transactions right movers, and the serialisability of conflicting locks and transactions.
Keywords :
concurrency control; information retrieval; multi-threading; programming language semantics; transaction processing; conflicting locks; conflicting transactions; data access; data races; isolated STM; locks moverness; multithreaded code; ordered linearisation points; parallel compositions trivial; programs semantics; software transactional memory; transaction right movers; Cognition; Computer languages; Educational institutions; Message systems; Monitoring; Semantics; Synchronization; Concurrency; Programming Languages; Software Transactional Memory;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Theoretical Aspects of Software Engineering (TASE), 2012 Sixth International Symposium on
Conference_Location :
Beijing
Print_ISBN :
978-1-4673-2353-6
Type :
conf
DOI :
10.1109/TASE.2012.29
Filename :
6269643
Link To Document :
بازگشت