[Cuis-dev] Follow-up: #terminate and #suspend update

Jaromir Matas mail at jaromir.net
Wed Mar 1 05:00:08 PST 2023


Hi Juan,

Working on this project has been a real pleasure thanks to your support. I’ve learned a lot and I’m really glad it’s even useful for the community :)

I think it’s beneficial if systems forked from the same source, Squeak, Cuis and Pharo, keep the very core as similar as possible, especially if they use the same VM (or almost in case of Pharo).

Best,

--

Jaromír Matas
mail at jaromir.net


From: Juan Vuletich<mailto:juan at cuis.st>
Sent: Tuesday, February 28, 2023 17:19
To: Discussion of Cuis Smalltalk<mailto:cuis-dev at lists.cuis.st>
Cc: Jaromir Matas<mailto:mail at jaromir.net>
Subject: Re: [Cuis-dev] Follow-up: #terminate and #suspend update

Hi Jaromir,

On 2/24/2023 6:22 PM, Jaromir Matas via Cuis-dev wrote:
Hi Juan,

> Not sure why you removed the `push: nil` in #unwindAndStop:

I haven't; #unwindAndStop: was not part of the latest changeset, the previous version probably sneaked back in somehow :) The correct version is included in the attached changeset.


That was most likely my mistake. Apologies for the noise.


The attached is mostly polishing up, but also a few small bugfixes:

#contextOn:do: ... the same bug as in #contextEnsure:
#unwindTo:safely: ... a missing nil check (dealing with: [] ensure: nil); a corresponding test included
#runUntilErrorOrReturnFrom: ... a missing nil check (discovered in a Squeak example but relevant for Cuis too)

Integrated. Thank you!


Maybe we could remove the methods associated with my initial #terminate attempt you renamed to #terminateFromForkedProcess. But it's up to you if you want to keep them for a little longer. It'd be:
#terminateFromForkedProcess
#complete:to:
#runUnwindUntilErrorOrReturnFrom:

I included a cs to remove thes.


This would be the final update in the "termination department" :)

Many thanks for your always inspiring comment and suggestions!

Best,
Jaromir


--

Jaromír Matas

mail at jaromir.net<mailto:mail at jaromir.net>

Thank you very much Jaromir. You did a real service to Cuis and our community!
Cheers,


--

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230301/3571b72b/attachment.htm>


More information about the Cuis-dev mailing list