<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Jaromir,<br>
<br>
On 8/10/2022 11:35 AM, Jaromir Matas via Cuis-dev wrote:
<blockquote
cite="mid:DM6PR03MB4073D466F163C211FB7A244CEE659@DM6PR03MB4073.namprd03.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Calibri Light";
panose-1:2 15 3 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing
{mso-style-priority:1;
margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";
color:black;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal">Hi Juan,</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you very much for your brilliant
explanations! Many missing pieces start to fit for me, thanks
:)</p>
</div>
</blockquote>
<br>
My pleasure. It is not good when important knowledge is only
anecdotal.<br>
<br>
<blockquote
cite="mid:DM6PR03MB4073D466F163C211FB7A244CEE659@DM6PR03MB4073.namprd03.prod.outlook.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><o:p> <br>
</o:p></p>
<p class="MsoNormal">Enclosing the .cs</p>
</div>
</blockquote>
<br>
Thanks. Integrated.<br>
<br>
<blockquote
cite="mid:DM6PR03MB4073D466F163C211FB7A244CEE659@DM6PR03MB4073.namprd03.prod.outlook.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal">> The implementation in Object is just
to avoid creating references to UISupervisor all over the
place</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Makes perfect sense; I've just realized
what confused me: the use of 'true' as a receiver :) I
expected something like</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">`self runningWorld`</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Sorry for the confusion, all clear now ;)</p>
</div>
</blockquote>
<br>
I also removed the silly 'true' as receiver, and replaced it by
'self'. No need for useless annoyances!<br>
<br>
<blockquote
cite="mid:DM6PR03MB4073D466F163C211FB7A244CEE659@DM6PR03MB4073.namprd03.prod.outlook.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal">> #processPreemptionYields = false is
the intended behavior in Smalltalk-80</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Ahhh, I didn't know!</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">> 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.
</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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</p>
</div>
</blockquote>
<br>
Indeed!<br>
<br>
<blockquote
cite="mid:DM6PR03MB4073D466F163C211FB7A244CEE659@DM6PR03MB4073.namprd03.prod.outlook.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal">Many thanks again for the brain food :)</p>
<p class="MsoNormal">Best,</p>
<p class="MsoNormal">Jaromir</p>
<p class="MsoNoSpacing"><span lang="CS">--</span></p>
<p class="MsoNoSpacing"><strong><span style="font-family:
"Calibri Light",sans-serif; color: rgb(51, 51,
51); font-weight: normal;">Jaromír Matas</span></strong><span
style="font-family: "Calibri Light",sans-serif;
color: rgb(85, 85, 85);"><o:p></o:p></span></p>
<p class="MsoNoSpacing"><span style="font-family: "Calibri
Light",sans-serif; color: rgb(46, 117, 182);"><a class="moz-txt-link-abbreviated" href="mailto:mail@jaromir.net">mail@jaromir.net</a></span></p>
<br>
</div>
</blockquote>
<br>
Cheers!<br>
<pre class="moz-signature" cols="72">--
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</pre>
</body>
</html>