Hal Murray <[email protected]> wrote:
>
> Suppose I want to wait until some UTC date/time more than 6 months in the
> future.  A library routine doesn't have to compute how many seconds to wait
> right now.  It can break it down into chunks.  Wait until the current leap
> file expires, then try again using the new one.  ...

AIUI timer wheels are the usual implementation, and they give you chunked
timeout handing. Warner and Poul-Henning will probably correct me now :-)

https://blog.acolyer.org/2015/11/23/hashed-and-hierarchical-timing-wheels/

Tony.
-- 
f.anthony.n.finch  <[email protected]>  http://dotat.at/  -  I xn--zr8h punycode
Shannon, Rockall: Southeast veering south 5 to 7. Moderate or rough, becoming
rough or very rough. Occasional rain. Good, occasionally poor.
_______________________________________________
LEAPSECS mailing list
[email protected]
https://pairlist6.pair.net/mailman/listinfo/leapsecs

Reply via email to