|
Tervel
1.0.0
A collection of wait-free containers and algorithms.
|
#include <chrono>#include <thread>#include <cmath>Go to the source code of this file.
Namespaces | |
| tervel | |
| TODO(steven): | |
| tervel::util | |
Macros | |
| #define | TERVEL_MEM_RC_MAX_NODES 25 |
| #define | TERVEL_MEM_RC_MIN_NODES 5 |
| #define | TERVEL_PROG_ASSUR_DELAY 100 |
| #define | TERVEL_PROG_ASSUR_LIMIT 1000 |
| #define | TERVEL_DEF_BACKOFF_TIME_NS 10000 |
| #define | DISALLOW_COPY_AND_ASSIGN(TypeName) |
Functions | |
| bool | tervel::util::isValid (void *value) |
| Returns whether or not the passed value is has one of the reserved bits set to 1. More... | |
| void | tervel::util::backoff (int duration=TERVEL_DEF_BACKOFF_TIME_NS) |
| Sets the amount of time in nano-seconds for a thread to backoff before re-retrying. More... | |
| int | tervel::util::round_to_next_power_of_two (uint64_t value) |
| Returns the next power of two. More... | |
| #define DISALLOW_COPY_AND_ASSIGN | ( | TypeName | ) |
| #define TERVEL_DEF_BACKOFF_TIME_NS 10000 |
| #define TERVEL_MEM_RC_MAX_NODES 25 |
| #define TERVEL_MEM_RC_MIN_NODES 5 |
| #define TERVEL_PROG_ASSUR_DELAY 100 |
| #define TERVEL_PROG_ASSUR_LIMIT 1000 |
1.8.9.1