Lumiera
0.pre.03
»edit your freedom«
|
Functions | |
size_t | thisThreadHash () |
Variables | |
const size_t | CONTEND_RANDOM_STEP = 11 |
stepping for randomisation of anti-contention measures | |
const size_t | CONTEND_SATURATION = CONTEND_STARK_LIMIT + 4 |
upper limit for the contention event count | |
const size_t | CONTEND_SOFT_FACTOR = 100 |
base counter for a spinning wait loop | |
const size_t | CONTEND_SOFT_LIMIT = 3 |
zone for soft anti-contention measures, counting continued contention events | |
const size_t | CONTEND_STARK_LIMIT = CONTEND_SOFT_LIMIT + 5 |
zone for stark measures, performing a sleep with exponential stepping | |
const microseconds | CONTEND_WAIT = 100us |
base time unit for the exponentially stepped-up sleep delay in case of contention | |
const double | MAX_OVERPROVISIONING = 3.0 |
safety guard to prevent catastrophic over-provisioning | |