usermode/library/mtm/src/mtm.c File Reference

Implements global utilities which are required by the transactional functions of MTM. More...

#include <mtm_i.h>

Go to the source code of this file.

Variables

pthread_key_t _mtm_thread_tx
volatile mtm_word_t locks [LOCK_ARRAY_SIZE]
volatile mtm_word_t gclock
int vr_threshold
int cm_threshold
mtm_rwlock_t mtm_serial_lock


Detailed Description

Implements global utilities which are required by the transactional functions of MTM.

Definition in file mtm.c.


Variable Documentation

volatile mtm_word_t locks[LOCK_ARRAY_SIZE]

The set of locks and write-set pointers (together!).

A lock is a unsigned int of the size of a pointer (mtm_word_t). The LSB is the lock bit. If it is set, this means:

See also:
locks.h

Definition at line 48 of file mtm.c.


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