[Cuis-dev] FW: Freezing UI - can't interrupt via Alt+.

Juan Vuletich JuanVuletich at zoho.com
Mon Jul 4 13:01:23 PDT 2022


On 7/4/2022 4:47 PM, Jaromir Matas via Cuis-dev wrote:
>
> Hi Juan,
>
> I’m attaching a changeset that would evaluate the following examples 
> identically, i.e. regardless of whether the code runs in the UI or a 
> non-UI process (simulated by wrapping into fork); please let me know 
> what you think if you find some time.
>
> s := Semaphore new.
>
> [[1/0] ensure: [s signal]] fork.
>
> s wait.
>
> self error: 'error'
>
> [s := Semaphore new.
>
> [[1/0] ensure: [s signal]] fork.
>
> s wait.
>
> self error: 'error'] fork
>
> I’m still just trying to analyze what is a reasonable requirement as 
> for the semantics and the suggested code I just a rough idea for your 
> review; I don’t have enough experience to see the bigger picture.
>
> Thanks a lot,
>
> jaromir
>
> --
>
> *Jaromír Matas*
>
> mail at jaromir.net
>

Hi Jaromir,

This code doesn't account for what I said when you were writing this 
message (   :) !!! ), but it doesn't add complexity, it is perhaps more 
robust, and could be of use for some use case I can't foresee. I'll 
integrate it, with a little change to improve readability, but keeping 
your authorship.

Thanks a lot,

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
https://independent.academia.edu/JuanVuletich
https://www.researchgate.net/profile/Juan-Vuletich
https://patents.justia.com/inventor/juan-manuel-vuletich
https://twitter.com/JuanVuletich

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


More information about the Cuis-dev mailing list