Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: