tlds
Transactional Operations for Linked Data Structures
|
#include <unistd.h>
#include <iostream>
#include <stdlib.h>
#include "common.hpp"
#include "lock.hpp"
#include "point.hpp"
#include "edge.hpp"
#include "edge_set.hpp"
#include "my_thread.hpp"
#include "dwyer.hpp"
#include "worker.hpp"
Functions | |
THREAD_LOCAL_DECL_TYPE (thread *) currentThread | |
static void | usage () |
static void | parse_args (int argc, char *argv[]) |
int | main (int argc, char *argv[]) |
Variables | |
d_lock | io_lock |
unsigned long long | start_time |
unsigned long long | last_time |
edge_set * | edges |
int | num_points = 100 |
int | num_workers = 4 |
static int | seed = 1 |
bool | output_incremental = false |
bool | output_end = false |
bool | verbose = false |
static bool | read_points = false |
int main | ( | int | argc, |
char * | argv[] | ||
) |
|
static |
THREAD_LOCAL_DECL_TYPE | ( | thread * | ) |
|
static |
edge_set* edges |
d_lock io_lock |
unsigned long long last_time |
int num_points = 100 |
int num_workers = 4 |
bool output_end = false |
bool output_incremental = false |
|
static |
|
static |
unsigned long long start_time |
bool verbose = false |