Sleeping in Squeak?
Lex Spoon
lex at cc.gatech.edu
Thu Feb 1 10:42:26 UTC 2001
> In morphic you also have the step and stepTime possibility
> step
> self doSomething
>
> stepTime
> ^ 5 minutes asMillisecs
>
A big advantage of this approach is that your code runs from within the
main UI thread that most everything else runs in. Thus, you don't have
to mess with synchronization.
-Lex
More information about the Squeak-dev
mailing list
|