[LEAPSECS] POSIX? (was Time math libraries, UTC to TAI)

Tony Finch dot at dotat.at
Wed Jan 4 15:11:57 EST 2017


Hal Murray <hmurray at megapathdsl.net> 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  <dot at dotat.at>  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.


More information about the LEAPSECS mailing list