<html><head></head><body>
    <p>Hi tim, here is my exploration of stack handling.<br/>
    </p>
    <div class="moz-cite-prefix">On 6/26/20 1:55 PM, Robert Withers
      wrote:<br/>
    </div>
    <blockquote type="cite" cite="mid:88caa1b0-25b4-2fb3-e53a-6144ae7e0077@pm.me">
      <pre class="moz-quote-pre" wrap="">Closer to my heart, at this point are my questions and request for help 
in splitting off a pruned stack for an exception, to unblock the event 
loop yet still allow introspection of an error, or a halt. Here is what 
I wrote. Tim, might you be able to advise me here? <b class="moz-txt-star"><span class="moz-txt-tag">*</span>lost<span class="moz-txt-tag">*</span></b>

<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/pipermail/squeak-dev/2020-June/210452.html" moz-do-not-send="true">http://lists.squeakfoundation.org/pipermail/squeak-dev/2020-June/210452.html</a></pre>
    </blockquote>
    <p>Not onyl do I want this, but the short stack, when Proceeded,
      should reschedule an eventual message on the event loop to
      reintroduce this short stack back into event loop land. As such, i
      was thinking perhaps a continuation could enable this. Liekwise,
      when a exception is thrown, do these steps:</p>
    <blockquote>
      <ol>
        <li>Modify the Vat to have a an active stack, a priority queue
          and a vat-aware continuation pool.<br/>
        </li>
        <li>Copy the stack. Does this mean create a special
          continuation, that is event loop aware?<br/>
        </li>
        <li>Resume the event loop by discarding the previous event
          handling exception.</li>
        <li>Prune the stack (of the continuation). above and below. Site
          of signaled exception.<br/>
        </li>
        <li>Open a Debugger</li>
        <li>On Proceed, reschedule the eventual message in the Vat's
          queue.</li>
      </ol>
    </blockquote>
    <p>I have no idea what B looks like. Outside of my experience doing
      continuations and stack manipulation and pool scheduling. I need a
      VatSemaphore (please peruse the ResultSemaphore in
      PromisesRemote). I pray someone may swoop in with solutions!</p>
    <p>Kindly,<br/>
      rabbit<br/>
    </p>
  

</body></html>