[squeak-dev] Process bug introduced in 3.10

Igor Stasenko siguctua at gmail.com
Sun Apr 27 17:26:09 UTC 2008


2008/4/27 karl <karl.ramberg at comhem.se>:
>
> 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:  ?
>
>
Maybe it should, but it not for MessageTally. Here the stack dump (i
put a break in #openInWorld)

SystemWindow(Object)>>break
SystemWindow(Morph)>>openInWorld
StringHolder>>openAsMorphLabel:
StringHolder>>openLabel:andTerminate:
StringHolder>>openLabel:
MessageTally class>>spyOn:

>  Karl
>
>



-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list