[squeak-dev] Process bug introduced in 3.10

karl karl.ramberg at comhem.se
Sun Apr 27 08:38:55 UTC 2008


Igor Stasenko wrote:
> To confirm my point of view, see Morph>>privateAddMorph:atIndex:
>
> It manipulates a submorphs collection without guarding it with semaphore.
> It really likely that tight loops running in multiple processes may
> damage collection, especially when you using Delays which enables
> scheduler to switch processes at any point.
> Also, i'm sure this is not the only place, where breakage can occur.
> Morphic is too complex to say something definitely.
>
> To summarize: manipulating morphs using concurrent code is a big no-no :)
>
>   
Shouldn't other processes add to the morphic process using WorldState 
addDeferredUIMessage:  ?


Karl



More information about the Squeak-dev mailing list