[squeak-dev] Re: Using Semaphores in drawing code

David T. Lewis lewis at mail.msen.com
Wed Aug 24 21:39:25 UTC 2016


On Wed, Aug 24, 2016 at 11:21:39AM -0500, Chris Muller wrote:
> Hi Marcel, if you are talking about introducing some kind of code to
> guard against someone mis-using Morphic, then, yes, it *is* a relevant
> point ot the discussion.  You can render your image just as unusable
> with
> 
>     String new become: nil
> 
> but we don't want to guard against that..   If Etoys or Kedama are
> doing that, shouldn't they be changed to use WorldState
> addDeferredUIMessage:?  That's the SharedQueue designed to let apps
> with background processes append operations to be handled by the UI
> Process..

It is good style to use Project current addDeferredUIMessage: rather
than WorldState addDeferredUIMessage:

Of course we are talking about Morphic here, but still ...

Dave



More information about the Squeak-dev mailing list