Published July 9, 2020 | Version v1
Conference paper

Towards a formal account for software transactional memory

Description

Software transactional memory (STM) is a concurrency control mechanism for shared memory systems. It is opposite to the lock based mechanism, as it allows multiple processes to access the same set of variables in a concurrent way. Then according to the used policy, the effect of accessing to shared variables can be committed (hence, made permanent) or undone. In this paper, we define a formal framework for describing STMs and show how with a minor variation of the rules it is possible to model two common policies for STM: reader preference and writer preference.

Abstract

International audience

Additional details

Created:
December 4, 2022
Modified:
November 30, 2023