Pending mac vm 3.2.6b6

John M McIntosh johnmci at smalltalkconsulting.com
Fri Mar 15 07:25:35 UTC 2002


Ok, pending feedback from two fellows who use french keyboards I 
think I've fixed the up-arrow issue.

Below are the changes in the pending Mac VM 3.2.6b6, if someone needs 
it *now*, then email me for a copy.

a) Change an internal number that dictates how often pending 
interrupts should be looked at from 5ms to 3ms This improves delay 
accuracy.
b) Change how sleeping is done when squeak is idle. This reduces CPU 
consumption, and improves Delay accuracy.
c) Fix bug with high bit problem with keyboard (accented characters are ok now)
   c2) 3.2.6b6 has fixed characters that require multiple key strokes to enter.
d) Externals that make UI interactions (IE AppleScript) must now make 
a call back to the VM to schedule the main thread to do the call that 
will invoke UI interaction to prevent a deadlock in Carbon UI logic 
between threads. See the OSAExecute call in the AppleScript plugin 
for details.
e) If you run a classic mac VM more than 24.85513 days nonstop it 
will stop responding to UI events.  Ensure clocks get anded with 
536870911.
f) signal inputSemaphoreIndex because we are multi-threaded. Not that 
it does anything for us yet...
g) 3.2.6b6 Pass the unicode value of the keystroke up as the 
EventKeyDown/EventKeyUp data, versus the mac keyboard code.
h) Somewhere there is a bug with mktime + time, so use the unix code 
of time+localtime+gmt
i) Change iorelinquishPrcessorForMicroseconds to sleep the quatum 
between now and wakeup time. Also schedule a check for interrupts if 
wakeup time is now or in the past. This improves delay accuracy. For 
OS-x this was a big deal for os-9 it improves things by 1 or 2ms. 
Also in  os-x we sleep more when idle so CPU usage goes down.
j) On OS-9 umap AND free the VM backing store. Just doing the free 
doesn't work and you lose 128Mb of disk space until you reboot


-- 
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================



More information about the Squeak-dev mailing list