usermode/library/mtm/src/mode/mode.h File Reference

Transaction execution modes. More...

Go to the source code of this file.

Defines

#define FOREACH_MODE(ACTION)

Typedefs

typedef mtm_mode_data_s mtm_mode_data_t

Enumerations

enum  mtm_mode_t { MTM_MODE_none = -1, MTM_MODE_pwbnl = 0, MTM_MODE_pwbetl = 1, MTM_NUM_MODES }

Functions

mtm_mode_t mtm_str2mode (char *str)
char * mtm_mode2str (mtm_mode_t mode)


Detailed Description

Transaction execution modes.

Author:
Haris Volos <hvolos@cs.wisc.edu>
To add a new transaction dynamic execution mode:

1) mode.c

2) mode.h

3) Look into pwbnl as a template

Definition in file mode.h.


Define Documentation

#define FOREACH_MODE ( ACTION   ) 

Value:

ACTION(pwbnl)               \
    ACTION(pwbetl)

Definition at line 62 of file mode.h.


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