<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        > <span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Now I'm confused - it looks to me either yield primitive 167 or </span><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">#valueUnpreemptively behave incorrectly</span><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br></span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Hmm... I think that "Processor yield" should not only schedule the next runnable process at the same priority but also serve as a "classic" suspension point and consider higher-priority processes first.</span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br></span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Not sure whether this is "by design" or actually a bug... most of the time, you would not need "Processor yield" to also look for interrupts. There are typically enough other suspension points. Hmmmm...</span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br></span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Best,</span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Marcel</span></div><div class="mb_sig"></div>
                                        <blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 02.02.2021 14:49:41 schrieb jaromir <m@jaromir.net>:</p><div style="font-family:Arial,Helvetica,sans-serif">> > Try to remove the primitive from #yield and then it works ok<br>><br>> Yes, removing the primitive form #yield will introduce one (or more)<br>> suspension points because of the (rather complex) fallback implementation.<br>> Yet, I cannot do that in a test. :-)<br><br>Now I'm confused - it looks to me either yield primitive 167 or<br>#valueUnpreemptively behave incorrectly because your example<br><br>x := 0.<br>[ [ x := 1 ] forkAt: 41 ] valueUnpreemptively.<br>y := x == 1.<br><br>should definitely return true. In case yield primitive works as intended,<br>#valueUnpreemptively should change (replace Processor yield line to digest<br>the change of priority) or vice versa - or am I missing something?<br><br>J.<br><br><br><br>--<br>Sent from: http://forum.world.st/Squeak-Dev-f45488.html<br><br></div></blockquote></div>