tlds
Transactional Operations for Linked Data Structures
|
Classes | |
struct | barrier |
Typedefs | |
typedef struct barrier | barrier_t |
Functions | |
static void | threadWait (void *argPtr) |
void | thread_startup (long numThread) |
void | thread_start (void(*funcPtr)(void *), void *argPtr) |
void | thread_shutdown () |
barrier_t * | barrier_alloc () |
void | barrier_free (barrier_t *b) |
void | barrier_init (barrier_t *b, int n) |
void | barrier_cross (barrier_t *b) |
void | thread_barrier_wait () |
long | thread_getId () |
long | thread_getNumThread () |
Variables | |
static THREAD_LOCAL_T | global_threadId |
static long | global_numThread = 1 |
static THREAD_BARRIER_T * | global_barrierPtr = NULL |
static long * | global_threadIds = NULL |
static THREAD_ATTR_T | global_threadAttr |
static THREAD_T * | global_threads = NULL |
static void(* | global_funcPtr )(void *) = NULL |
static void * | global_argPtr = NULL |
static volatile bool_t | global_doShutdown = FALSE |
barrier_t* barrier_alloc | ( | ) |
void barrier_cross | ( | barrier_t * | b | ) |
void barrier_free | ( | barrier_t * | b | ) |
void barrier_init | ( | barrier_t * | b, |
int | n | ||
) |
void thread_barrier_wait | ( | ) |
long thread_getId | ( | ) |
long thread_getNumThread | ( | ) |
|
inline |
void thread_start | ( | void(*)(void *) | funcPtr, |
void * | argPtr | ||
) |
void thread_startup | ( | long | numThread | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |