|
tlds
Transactional Operations for Linked Data Structures
|
Go to the source code of this file.
Classes | |
| struct | point |
| struct | eq_point |
| struct | lt_point |
| struct | hash_point |
Functions | |
| TRANSACTION_SAFE int | bucket (const point *const p) |
| int | stripe (const point *const p) |
| TRANSACTION_SAFE int | closest_seam (const point *const p) |
| TRANSACTION_SAFE bool | encircled (const point *A, const point *B, const point *C, const point *D, const int dir) |
| TRANSACTION_SAFE bool | extern_angle (const point *p1, const point *p2, const point *p3, const int dir) |
| void | create_points (const int seed) |
Variables | |
| static const int | xdim = 0 |
| static const int | ydim = 1 |
| static const int | ccw = 0 |
| static const int | cw = 1 |
| static const int | MAX_COORD_BITS = 24 |
| point * | all_points |
| int | min_coord [] |
| int | max_coord [] |
|
inline |
|
inline |
| void create_points | ( | const int | seed | ) |
| TRANSACTION_SAFE bool encircled | ( | const point * | A, |
| const point * | B, | ||
| const point * | C, | ||
| const point * | D, | ||
| const int | dir | ||
| ) |
| TRANSACTION_SAFE bool extern_angle | ( | const point * | p1, |
| const point * | p2, | ||
| const point * | p3, | ||
| const int | dir | ||
| ) |
|
inline |
| point* all_points |
|
static |
|
static |
| int max_coord[] |
|
static |
| int min_coord[] |
|
static |
|
static |