[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] ✘timestamp_t is dead. Long live timespec_t
From: |
Gary E. Miller |
Subject: |
[gpsd-dev] ✘timestamp_t is dead. Long live timespec_t |
Date: |
Thu, 19 Sep 2019 15:48:02 -0700 |
Yo All!
timestamp_t is now gone. All replaced by timespec_t.
timestamp_t was never big enough to hold UNIX time to the nanosecond.
This led to all sorts of problems with precision and numerical stability.
timespec_t, at least on 64 bit systems, is good for the 2038 UNIX time
overflow event. Not much we can do for 32-bit systems until the
system calls get fixed.
timespec_t is easy to work with, as long as you use the macros in
timespec.h. A few more places in the code can be converted to use the
macros.
Few regressions changed, and those for the better.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgpyqnf8NvtOE.pgp
Description: OpenPGP digital signature
- [gpsd-dev] ✘timestamp_t is dead. Long live timespec_t,
Gary E. Miller <=
- Re: [gpsd-dev] ✘timestamp_t is dead. Long live timespec_t, Greg Troxel, 2019/09/19
- Re: [gpsd-dev] ✘timestamp_t is dead. Long live timespec_t, Gary E. Miller, 2019/09/20
- Re: [gpsd-dev] ✘timestamp_t is dead. Long live timespec_t, Greg Troxel, 2019/09/20
- [gpsd-dev] report on my build nits, Greg Troxel, 2019/09/20
- Re: [gpsd-dev] report on my build nits, Gary E. Miller, 2019/09/20
- Re: [gpsd-dev] report on my build nits, Greg Troxel, 2019/09/20
- Re: [gpsd-dev] report on my build nits, Gary E. Miller, 2019/09/20
- Re: [gpsd-dev] report on my build nits, Greg Troxel, 2019/09/20