usermode/library/mtm/include/mtm.h File Reference

Go to the source code of this file.

Defines

#define MNEMOSYNE_ATOMIC   __tm_atomic

Functions

void mtm_fini_global ()


Detailed Description

Defines the public interface to the Mnemosyne Transactional Memory. Having this file, one is able to run durability transactions in their library or application code.

Author:
Haris Volos <hvolos@cs.wisc.edu>

Andres Jaan Tack <tack@cs.wisc.edu>

Definition in file mtm.h.


Define Documentation

#define MNEMOSYNE_ATOMIC   __tm_atomic

Opens a durability transaction. This should be used as MNEMOSYNE_ATOMIC { // do stuff, writing to persistent and nonpersistent memory }

If the code proceeds past the bottom curly brace, the persistent writes are guaranteed to be flushed to persistent memory.

Definition at line 53 of file mtm.h.


Generated on Sat Apr 23 11:43:36 2011 for Mnemosyne by  doxygen 1.4.7