Computer Science · Computer Networks and Communications
An Abort-Aware Model of Transactional Programming (Position Paper)
Kousha Etessami, Patrice Godefroid
See on the mapAbstract
There has been a lot of recent research on transaction-based concurrent programming, aimed at offering an easier concurrent programming paradigm that enables programmers to better exploit the parallelism of modern multi-processor machines, such as multi-core microprocessors. Roughly speaking, transactions are marked code segments that are to be executed “atomically”. The goal of such research is to use transactions as the main enabling construct for shared-memory concurrent programming, replacing more conventional but low-level constructs such as locks, which have proven to be hard to use and highly error prone. Highlevel transactional code could in principle then be compiled down to machine code for the shared memory-machine, as long as the machine provides certain needed low-level atomic operations (such as atomic compare-and-swap). Already, a number of languages and libraries for transactions have been implemented (see, e.g., [2] which surveys many implementations). Much of this work however lacks precise formal semantics specifying exactly what correctness guarantees are provided by the transactional framework.