3 ms·
> how do you know what timeout to use? adjust based on your minimum expected latency, potentially with exponential backoff. Potentially account for scheduler o
by mgaunard 1y ago
> how do you know what timeout to use?
adjust based on your minimum expected latency, potentially with exponential backoff. Potentially account for scheduler overhead of the spurious wake-ups.
Basically if you check every millisecond to every 10ms, you should be fine.
> in C++26
it's a library, language support is not necessary.
There are implementations you can use right now.