Ian

Show:

What's happening?

  • Followup: RE: Possible problem in Date and Time access

    To add a bit more... In dir.c there is split access to time_getTime and time_getDate - these functions allow the system to deal with rollover within date and within time, but they do not prevent rollover between the calls to getting the date and then later getting the time. A single call to get both may be more robust. Not a high risk of a problem, but it could be removed. Maybe...

    2009-02-24 04:16:23 UTC in Embedded Filesystems Library

  • Possible problem in Date and Time access

    Hi all, fs_makeTime has a block of code like: s = time_getSecond(); m = time_getMinute(); h = time_getHour(); These accesses are not atomic and the underlying RTC may rollover between calls. Lets say when minutes are read the time is just about to roll off 2:59:59, seconds and minutes read as "59", but then the RTC rolls over to 3:00:00. Hours now reads as "3".

    2009-02-24 04:00:40 UTC in Embedded Filesystems Library

About Me

  • 2009-02-24 (9 months ago)
  • 2413789
  • joeblogss84 (My Site)
  • Ian

Send me a message