tlds
Transactional Operations for Linked Data Structures
|
#include <assert.h>
#include <getopt.h>
#include <stdio.h>
#include <stdlib.h>
#include "region.h"
#include "list.h"
#include "mesh.h"
#include "heap.h"
#include "thread.h"
#include "timer.h"
#include "tm.h"
Macros | |
#define | PARAM_DEFAULT_INPUTPREFIX ("") |
#define | PARAM_DEFAULT_NUMTHREAD (1L) |
#define | PARAM_DEFAULT_ANGLE (20.0) |
Functions | |
static void | displayUsage (const char *appName) |
static void | parseArgs (long argc, char *const argv[]) |
static long | initializeWork (heap_t *workHeapPtr, mesh_t *meshPtr) |
void | process () |
MAIN (argc, argv) | |
Variables | |
const char * | global_inputPrefix = PARAM_DEFAULT_INPUTPREFIX |
long | global_numThread = PARAM_DEFAULT_NUMTHREAD |
double | global_angleConstraint = PARAM_DEFAULT_ANGLE |
mesh_t * | global_meshPtr |
heap_t * | global_workHeapPtr |
long | global_totalNumAdded = 0 |
long | global_numProcess = 0 |
comparator_t yada_heapcompare & | element_heapCompare |
#define PARAM_DEFAULT_ANGLE (20.0) |
#define PARAM_DEFAULT_INPUTPREFIX ("") |
#define PARAM_DEFAULT_NUMTHREAD (1L) |
|
static |
MAIN | ( | argc | , |
argv | |||
) |
|
static |
void process | ( | ) |
comparator_t yada_heapcompare& element_heapCompare |
double global_angleConstraint = PARAM_DEFAULT_ANGLE |
const char* global_inputPrefix = PARAM_DEFAULT_INPUTPREFIX |
mesh_t* global_meshPtr |
long global_numProcess = 0 |
long global_numThread = PARAM_DEFAULT_NUMTHREAD |
long global_totalNumAdded = 0 |
heap_t* global_workHeapPtr |