tlds
Transactional Operations for Linked Data Structures
|
#include <iostream>
#include <cassert>
#include "common/platform.hpp"
#include "common/ThreadLocal.hpp"
#include "lock.hpp"
#include <malloc.h>
Go to the source code of this file.
Macros | |
#define | TRANSACTION_SAFE |
#define | TRANSACTION_PURE |
#define | TRANSACTION_WAIVER |
#define | SYS_INIT() |
#define | THREAD_INIT() |
#define | THREAD_SHUTDOWN() |
#define | SYS_SHUTDOWN() |
Functions | |
THREAD_LOCAL_DECL_TYPE (thread *) currentThread | |
Variables | |
int | num_points |
int | num_workers |
bool | output_incremental |
bool | output_end |
bool | verbose |
static const int | MAX_WORKERS = 32 |
d_lock | io_lock |
unsigned long long | start_time |
unsigned long long | last_time |
#define SYS_INIT | ( | ) |
#define SYS_SHUTDOWN | ( | ) |
#define THREAD_INIT | ( | ) |
#define THREAD_SHUTDOWN | ( | ) |
#define TRANSACTION_PURE |
#define TRANSACTION_SAFE |
#define TRANSACTION_WAIVER |
THREAD_LOCAL_DECL_TYPE | ( | thread * | ) |
d_lock io_lock |
unsigned long long last_time |
|
static |
int num_points |
int num_workers |
bool output_end |
bool output_incremental |
unsigned long long start_time |
bool verbose |