|
From: John M M. <jo...@us...> - 2002-03-25 07:07:30
|
Update of /cvsroot/squeak/squeak/platforms/Mac OS/vm
In directory usw-pr-cvs1:/tmp/cvs-serv27842/squeak/platforms/Mac OS/vm
Modified Files:
sqMacTime.c
Log Message:
3.2.6b8 To solve the no input problem after 16r418938 ticks (19.88 hours) we now have a ioLowResMSec function that uses doubles to convert TickCount to milliseconds under mac classic so we have less of a problem with converting units. Actual fix is in UI events where we use different logic to track differences in time and we account for clock roll over.
Index: sqMacTime.c
===================================================================
RCS file: /cvsroot/squeak/squeak/platforms/Mac OS/vm/sqMacTime.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** sqMacTime.c 19 Mar 2002 21:32:44 -0000 1.6
--- sqMacTime.c 25 Mar 2002 07:07:26 -0000 1.7
***************
*** 173,176 ****
--- 173,185 ----
#endif
+ int ioLowResMSecs(void)
+ {
+ double convert;
+
+ convert = TickCount();
+ convert = convert*1000.0/60.0;
+ return convert;
+ }
+
#endif
|