[Cuis-dev] FW: FW: FW: Freezing UI - can't interrupt via Alt+.
Juan Vuletich
juan at cuis.st
Wed Aug 10 13:50:23 PDT 2022
Hi Jaromir,
On 8/10/2022 11:35 AM, Jaromir Matas via Cuis-dev wrote:
>
> Hi Juan,
>
> Thank you very much for your brilliant explanations! Many missing
> pieces start to fit for me, thanks :)
>
My pleasure. It is not good when important knowledge is only anecdotal.
>
> Enclosing the .cs
>
Thanks. Integrated.
> > The implementation in Object is just to avoid creating references to
> UISupervisor all over the place
>
> Makes perfect sense; I've just realized what confused me: the use of
> 'true' as a receiver :) I expected something like
>
> `self runningWorld`
>
> Sorry for the confusion, all clear now ;)
>
I also removed the silly 'true' as receiver, and replaced it by 'self'.
No need for useless annoyances!
> > #processPreemptionYields = false is the intended behavior in
> Smalltalk-80
>
> Ahhh, I didn't know!
>
> > In Cuis, no assumption is made. The way to protect access to Morphic
> state is to call #whenUIinSafeState: . So, #processPreemptionYields
> can be set to true. I believe this is what most people would expect in
> these days.
>
> Yes! That was my naïve expectation when I started with Smalltalk (not
> long ago) but was utterly confused by Squeak's reverting (and
> sticking) to the cooperative mode. Preemptive multitasking is indeed
> less restricted and offers no "cheap" guarantee the processes of the
> same priority won't interleave (yield) but that's part of the fun to
> make things work even without the assumption :D
>
Indeed!
> Many thanks again for the brain food :)
>
> Best,
>
> Jaromir
>
> --
>
> *Jaromír Matas*
>
> mail at jaromir.net
>
>
Cheers!
--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220810/2997e990/attachment.htm>
More information about the Cuis-dev
mailing list