[Vm-dev] Millisecond clock wraparound

tim Rowledge tim at rowledge.org
Sat Oct 20 03:54:24 UTC 2007

On 19-Oct-07, at 8:16 PM, Andreas Raab wrote:

> Chris Muller wrote:
>> Is this issue currently solveable from the image?  i.e., is it
>> possible to simulate a millisecond clock that never wraps?
> Time class>>neverWrappingMSecsClock
> 	^(self totalSeconds * 1000) + (self millisecondsClock \\ 1000)

I *think* we demonstrated some time ago that the two values are not  
necessarily aligned on the same 0, which caused some problems in some  
date/time code IIRC.

tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
AAAAAA - American Association Against Acronym Abuse Anonymous

More information about the Vm-dev mailing list