3 ms·
This is also a good case for why unsigned integers are useful. Time calculations using delta values are insensitive to a single wraparound event.
by kevin_thibedeau 5y ago
This is also a good case for why unsigned integers are useful. Time calculations using delta values are insensitive to a single wraparound event.
- plasticchris 5y agoThis is a common thing in embedded where 1ms ticks mean overflows every few weeks. Makes me wonder if a more resilient system would have such frequent overflows to force people to come to grips with them.
- lmm 5y agoThat's the big problem with leap seconds IME. Every time one happens we find that the fixes for the bugs that happened last time have been undone during the intervening period.