On Wed, Mar 23, 2016 at 4:51 PM, David T. Lewis lewis@mail.msen.com wrote:
On Wed, Mar 23, 2016 at 04:22:21PM -0700, Eliot Miranda wrote:
Turns out this isn't needed for Cog. I have ioLocalSecondsOffset which answers a value determined at start-up and only changed via ioUpdateVMTimezone, which itself is controlled by primitiveUpdateTimezone, #243. So ioUTCMicroseconds is all that's needed to get at the clock and timezone atomically.
If it is updated at start-up, then it's wrong. Think of daylight savings time transitions.
So update it automatically once a second or some such?
_,,,^..^,,,_ best, Eliot