Macros | Enumerations | Functions
picotm-tm.h File Reference

Public interfaces of picotm's Transactional Memory module. More...

#include "picotm/config/picotm-tm-config.h"
#include "picotm/compiler.h"
#include <stddef.h>
#include <stdint.h>

Macros

#define PICOTM_TM_LOAD_TX(__name, __type)
 
#define PICOTM_TM_PRIVATIZE_LOADSTORE
 
#define PICOTM_TM_PRIVATIZE_TX(__name, __type)
 
#define PICOTM_TM_STORE_TX(__name, __type)
 

Enumerations

enum  { PICOTM_TM_PRIVATIZE_LOAD, PICOTM_TM_PRIVATIZE_STORE }
 

Functions

static void * load_ptr_tx (const void *addr)
 
static void load_tx (const void *addr, void *buf, size_t siz)
 
static void loadstore_tx (const void *laddr, void *saddr, size_t siz)
 
static void privatize_c_tx (const void *addr, int c, unsigned long flags)
 
static void privatize_tx (const void *addr, size_t siz, unsigned long flags)
 
static void store_ptr_tx (void *addr, const void *ptr)
 
static void store_tx (void *addr, const void *buf, size_t siz)