<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 1/18/2022 4:07 PM, Jaromir Matas via Cuis-dev wrote:
    <blockquote
cite="mid:BYAPR03MB4072F8DB37F91234B54AD0C0EE589@BYAPR03MB4072.namprd03.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <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;}
.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, all,</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I'm enclosing a new version of #terminate;
          I thought you might be interested to take a look and indeed,
          I'd be very much interested in your opinion. The termination
          functionality and semantics remains intact but the code is
          simplified and addresses Eliot's concerns regarding active
          process termination being done via another process. The
          enclosed code executes both active and suspended process’s
          termination directly by the process being terminated thus
          maintaining the invariant that the unwind blocks are executed
          by the same process that created them (this is the only real
          disadvantage of the current terminate; it’s not process
          faithful). The technique used is to create a parallel stack
          for the process being terminated and run the unwinds
          conveniently from there :) (thorough comments included). </p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I'm also enclosing some updated tests to
          reflect the new approach to the active process termination. If
          you were interested, I'd be happy to also provide updated
          examples and add some more tests later.</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Best regards,</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Jaromir</p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
    </blockquote>
    <br>
    Hello Jaromir, Folks,<br>
    <br>
    I took a look at the code, and it looks correct to me, although I
    don't understand this well enough to be sure. All the tests you
    wrote last year pass, and that is great.<br>
    <br>
    I think we'd integrate this. Still, I think it could be good to keep
    the current #terminate as a separate method, maybe
    #terminateFromForkedProcess, just in case it proves useful in the
    future.<br>
    <br>
    I'd be very thankful if others could take a look, and better yet,
    try it and see if it brings any trouble.<br>
    <br>
    Thanks!<br>
    <pre class="moz-signature" cols="72">-- 
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
<a class="moz-txt-link-freetext" href="https://independent.academia.edu/JuanVuletich">https://independent.academia.edu/JuanVuletich</a>
<a class="moz-txt-link-freetext" href="https://www.researchgate.net/profile/Juan-Vuletich">https://www.researchgate.net/profile/Juan-Vuletich</a>
<a class="moz-txt-link-freetext" href="https://patents.justia.com/inventor/juan-manuel-vuletich">https://patents.justia.com/inventor/juan-manuel-vuletich</a>
@JuanVuletich</pre>
  </body>
</html>