< Terug naar vorige pagina

Publicatie

Context-oriented Software Transactional Memory in Common Lisp

Boekbijdrage - Boekhoofdstuk Conferentiebijdrage

Software transactional memory (STM) is a promising approach for coordinating concurrent threads, for which many implementation strategies are currently being researched. Although some first steps exist to ease experimenting with different strategies, this still remains a relatively complex and cumbersome task. The reason is that software transactions require STM-specific dynamic crosscutting adaptations, but this is not accounted for in current STM implementations. This paper presents CSTM, an STM framework based on Context-oriented Progamming, in which transactions are modelled as dynamically scoped layer activations. It enables expressing transactional variable accesses as user-defined crosscutting concerns, without requiring invasive changes in the rest of a program. This paper presents a proof-of-concept implementation based on ContextL for Common Lisp, along with example STM strategies and preliminary benchmarks, and introduces some of ContextL's unique features for context-dependent variable accesses.
Boek: Proceedings of the 5th Symposium on Dynamic Languages
Pagina's: 59-68
Aantal pagina's: 10
ISBN:978-1-60558-769-1
Jaar van publicatie:2009
Trefwoorden:Software transactional memory, Framework design, Context-oriented Programming
  • Scopus Id: 77956299693