dsdreamer wrote: 
> I observe that relatively small changes to the system time that are
> negative (setting the date back a few days or even hours) freezes
> Jivelite every time. But I also notice that all the running timers in
> the Jive UI are based on reading the current value of jive_jiffies(),
> and setting an expiry time based on that value. But jive_jiffies are
> coming from > 
Code:
--------------------
  >   > #define jive_jiffies() SDL_GetTicks()
--------------------
> > .  Looking up SDL_GetTicks(), I find that this function "Returns the
> number of milliseconds since SDL library initialization. This value
> wraps around if the program runs for more than 49.7 days." So setting
> the time forward by too much may have the same effect as setting it
> back by some amount which stops a bunch of timers expiring, I think.

I thought about this over night - I'm sure logitech would have used
clockmonotomic for that if at all possible - so we need to check if that
was a logitech specific patch to SDL or the jive code.  I will look at
it...


------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=98544

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to