|
From: John M M. <jo...@us...> - 2003-03-05 19:57:12
|
Update of /cvsroot/squeak/squeak/platforms/Mac OS/vm
In directory sc8-pr-cvs1:/tmp/cvs-serv19779/squeak/platforms/Mac OS/vm
Modified Files:
sqMacTime.c
Log Message:
3.5.0b4 Alter logic a bit for browser plugin case to ensure time is surrendered
Index: sqMacTime.c
===================================================================
RCS file: /cvsroot/squeak/squeak/platforms/Mac OS/vm/sqMacTime.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** sqMacTime.c 27 Apr 2002 18:58:38 -0000 1.8
--- sqMacTime.c 5 Mar 2003 19:57:02 -0000 1.9
***************
*** 276,287 ****
#if !I_AM_CARBON_EVENT
microSeconds;
- if ((getNextWakeupTick() <= (ioMSecs() & 536870911)) && (getNextWakeupTick() != 0)) {
- setInterruptCheckCounter(0);
- return;
- }
if (gThreadManager)
SqueakYieldToAnyThread();
else
ioProcessEvents();
#endif
#endif
--- 276,287 ----
#if !I_AM_CARBON_EVENT
microSeconds;
if (gThreadManager)
SqueakYieldToAnyThread();
else
ioProcessEvents();
+ if ((getNextWakeupTick() <= (ioMSecs() & 536870911)) && (getNextWakeupTick() != 0)) {
+ setInterruptCheckCounter(0);
+ return;
+ }
#endif
#endif
|