<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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;}
/* 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;}
p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing
        {mso-style-priority:1;
        margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.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>
</head>
<body lang="EN-US" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNoSpacing"><span lang="CS">Hi Marcel,<o:p></o:p></span></p>
<p class="MsoNoSpacing"><span lang="CS">Hmm, never tried but it fails in a fresh trunk image and with all previous #terminate versions as well. Would it mean it has nothing to do with the latest changes in Kernel-jar.1470, Kernel-jar.1469 and Kernel-jar.1468?<o:p></o:p></span></p>
<p class="MsoNoSpacing"><span lang="CS">Thanks!<o:p></o:p></span></p>
<p class="MsoNoSpacing"><span lang="CS">Jaromir<o:p></o:p></span></p>
<p class="MsoNoSpacing"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:marcel.taeumel@hpi.de">Marcel Taeumel</a><br>
<b>Sent: </b>Monday, May 30, 2022 14:13<br>
<b>To: </b><a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev</a><br>
<b>Subject: </b>Re: [squeak-dev] The Inbox: Kernel-jar.1470.mcz</p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">+1000 Thanks! :-)<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Just #testPrimitive100 is not passing ... is this expected?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Best,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Marcel<o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid windowtext 1.0pt;padding:0in 0in 0in 8.0pt;margin-left:0in;margin-top:15.0pt;margin-bottom:5.0pt">
<p style="margin-top:7.5pt"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#AAAAAA">Am 29.05.2022 22:51:49 schrieb commits@source.squeak.org <commits@source.squeak.org>:<o:p></o:p></span></p>
</blockquote>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:.5in;margin-bottom:12.0pt;margin-left:0in">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">A new version of Kernel was added to project The Inbox:<br>
http://source.squeak.org/inbox/Kernel-jar.1470.mcz<br>
<br>
==================== Summary ====================<br>
<br>
Name: Kernel-jar.1470<br>
Author: jar<br>
Time: 29 May 2022, 10:51:34.061501 pm<br>
UUID: 18469d29-2a9e-074d-b7e3-12d8d981f4b5<br>
Ancestors: Kernel-jar.1469<br>
<br>
one more oops; check suspendedContext for nil<br>
<br>
=============== Diff against Kernel-jar.1469 ===============<br>
<br>
Item was changed:<br>
----- Method: Process>>suspendAndReleaseCriticalSection (in category 'private') -----<br>
suspendAndReleaseCriticalSection<br>
"Figure out if we are terminating a process that is in the ensure: block of a critical section.<br>
If it hasn't made progress but is beyond the wait (which we can tell by the oldList being<br>
one of the runnable lists, i.e. a LinkedList, not a Semaphore or Mutex, et al), then the ensure:<br>
block needs to be run."<br>
<br>
| oldList selectorJustSent |<br>
"Suspend and unblock the receiver from a condition variable using suspend primitive #88.<br>
It answers the list the receiver was on before the suspension."<br>
oldList := self suspendAndUnblock.<br>
(oldList isNil or: [oldList class == LinkedList]) ifFalse: [^self].<br>
<br>
+ ((suspendedContext ifNil: [^self]) method pragmaAt: #criticalSection) ifNil: [^self].<br>
- (suspendedContext method pragmaAt: #criticalSection) ifNil: [^self].<br>
selectorJustSent := suspendedContext selectorJustSentOrSelf.<br>
<br>
"If still at the wait the ensure: block has not been activated, so signal to restore."<br>
selectorJustSent == #wait ifTrue:<br>
[suspendedContext receiver signal].<br>
<br>
"If still at the lock primitive and the lock primitive just acquired ownership (indicated by it answering false)<br>
then the ensure block has not been activated, so explicitly primitiveExitCriticalSection to unlock."<br>
(selectorJustSent == #primitiveEnterCriticalSection<br>
or: [selectorJustSent == #primitiveTestAndSetOwnershipOfCriticalSection]) ifTrue:<br>
[(suspendedContext stackPtr > 0<br>
and: [suspendedContext top == false]) ifTrue:<br>
[suspendedContext receiver primitiveExitCriticalSection]]!<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>