
27 May
2011
27 May
'11
9:33 a.m.
Dear "J. William Campbell",
In message 4DDF2072.5090802@comcast.net you wrote: ...
The problem is that the way we previously detected wrapping does not work if the interrupt rate is == to the counter wrap time, which it essentially always is. If get_ticks is trying to update the wrap count
You ignore the fact that this is only ever a problem when the rollover cannot signal through an interrupt or similar. Also, some processors allow daisy-chaning of timers, etc.
Again, I would really like to know about how many exotic systems we are talking that fulfil your worst-case expectations. I bet the overwhelming majority behaves absolutely harmless.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
The software required `Windows 95 or better', so I installed Linux.