Skip to main content

SLICE

Constant SLICE 

Source
const SLICE: Duration;
Expand description

How long the release thread may sleep without re-reading the heap.

This is a responsiveness knob, not an accuracy one: it sets how fast a newly armed nearer deadline is noticed, never the accuracy of one the wheel already holds. The last sleep before a deadline is min(remaining, SLICE) == remaining, so accuracy comes from std::thread::sleep whatever this constant is.