|
UDC 004.652
Ricardo Dias, João
Lourenço and Gonçalo
Cunha
CITI–Centre for Informatics and Information
Technology, and Departamento de Informática,
Universidade Nova de Lisboa Portugal
{rjfd,joao.lourenco}@di.fct.unl.pt
goncalo.cunha@gmail.com
Abstract.
Software transactional memory is a promising
programming model that adapts many concepts borrowed
from the databases world to control concurrent
accesses to main memory (RAM) locations. This paper
discusses how to support apparently irreversible
operations, such as memory allocation and
deallocation, within software libraries that will be
used in (software memory) transactional contexts,
and propose a generic and elegant approach based on
a handler system, which provide the means to create
and execute compensation actions at key moments
during the life-time of a transaction.
|