[squeak-dev] Delay on Linux (was: wait2ms)
David T. Lewis
lewis at mail.msen.com
Fri Feb 8 13:03:23 UTC 2013
On Fri, Feb 08, 2013 at 09:41:05AM +0100, St?phane Rollandin wrote:
> >Yes, the effect is much more evident on Linux than on Windows, where
> >a delay of "2 ms" might be perhaps 15 ms or so in actual duration:
> >
> >Time millisecondsToRun: [(Delay forMilliseconds: 2) wait] ==> 16
>
> This is very bad ! This makes squeak unusable for real-time animation or
> music. Can it be fixed ?
>
Yes, Cog on Linux is much better in this regard (I was using an interpreter VM):
Time millisecondsToRun: [(Delay forMilliseconds: 2) wait] ==> 2
Dave
More information about the Squeak-dev
mailing list
|