Work item list: l_fp_time and l_fp_offset

Achim Gratz Stromeko at nexgo.de
Wed Apr 26 20:20:17 UTC 2017


Gary E. Miller via devel writes:
>> What exactly do you suggest to replace it with?
>
> Timespec with time64_t.

Is that POSIX yet?

> As Linux 64-bit uses now for native time.  Then
> the timestamp arithmetic does not lose precision and the first time64_t
> rollover is centuries from now.

I'm not sure what you try to gain there, but you are certainly not be
able to stuff that into registers or call stack and instead have
pointers to a structure.  Again, as long as you can reconcile the time
at startup, there is absolutely no problem with any rollover during the
operation of ntpd that results from the use of l_fp.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

DIY Stuff:
http://Synth.Stromeko.net/DIY.html



More information about the devel mailing list