#include "ptst.h"
#include <setjmp.h>
Go to the source code of this file.
|
stm * | new_stm (ptst_t *ptst, int blk_size) |
|
void | free_stm (ptst_t *ptst, stm *mem) |
|
stm_blk * | new_stm_blk (ptst_t *ptst, stm *mem) |
|
void | free_stm_blk (ptst_t *ptst, stm *mem, stm_blk *b) |
|
void * | init_stm_blk (ptst_t *ptst, stm *mem, stm_blk *b) |
|
int | sizeof_stm_blk (ptst_t *ptst, stm *mem, stm_blk *b) |
|
stm_tx * | new_stm_tx (ptst_t *ptst, stm *mem, sigjmp_buf *penv) |
|
bool_t | commit_stm_tx (ptst_t *ptst, stm_tx *t) |
|
bool_t | validate_stm_tx (ptst_t *ptst, stm_tx *t) |
|
void | abort_stm_tx (ptst_t *ptst, stm_tx *t) |
|
void * | read_stm_blk (ptst_t *ptst, stm_tx *t, stm_blk *b) |
|
void * | write_stm_blk (ptst_t *ptst, stm_tx *t, stm_blk *b) |
|
void | remove_from_tx (ptst_t *ptst, stm_tx *t, stm_blk *b) |
|
void | _init_stm_subsystem (int pad_data) |
|
#define new_stm_tx |
( |
|
_tx, |
|
|
|
_ptst, |
|
|
|
_mem |
|
) |
| |
Value:do { \
sigjmp_buf env; \
sigsetjmp(env, 1); \
} while ( 0 )
#define new_stm_tx(_tx, _ptst, _mem)
Definition: stm.h:37
void _init_stm_subsystem |
( |
int |
pad_data | ) |
|