Re: ABCL Threads

Marco Antoniotti <[email protected]>
Newsgroups gmane.editors.j.devel
Message-ID <CAG0Nw2nczx_KaB1icTWEQCdzhMTr4n5LyNDwU54X2LhOkirA3w@mail.gmail.com>
Thanks Dave, but I am on a different quest 🥹

Having said that, what is the interaction between threads (read: the
function running in a thread) and special variables?  It appears that they
become thread local, is that so?  The documentation is very sparse.

Thanks

MA

On Wed, Aug 5, 2026 at 7:13 PM David Cooper <[email protected]>
wrote:

>
> Hi Marco,
>
> I don't have experience specifically with threads on abcl yet, but
> regarding abcl in general, I took on maintenance of the
> gitlab.common-lisp.net/cl-docker-images/
> <http://gitlab.common-lisp.net/cl-docker-images/abcl/> container image
> builds and recently got the abcl/ pipelines running green.  So any feedback
> on those built docker container images (from Marco or anyone on this list)
> would be welcomed.
>
> Also I just joined #abcl on libera.chat myself, I'm not sure your handle
> on there to know whether you're one of the ~8 apparent members in that
> channel. Anyway, that is a place where you and I (and anyone else
> interestedd) could brainstorm any ideas or share any quirks regarding those
> abcl docker images, maybe before they need to get promoted to Issues or MRs
> in the project.
>
> Of course we can also discuss threads in there. I would hope bt2 would
> have most needs covered - diving into Java internals sounds scary, to me at
> least.
>
>
> Thanks,
>
> Dave Cooper
>
>
>
>
>
> From: Marco Antoniotti <[email protected]>
> To: "Rudi Schlatte"<[email protected]>
> Cc: <[email protected]>
> Date: Wed, 05 Aug 2026 05:20:06 -0400
> Subject: Re: ABCL Threads
>
> Thanks
>
> Yep, I gathered that much.  I also saw a note in the documentation saying
> that you can use JSS to use java.util.concurrent.  Can you point me to some
> examples for that?
>
> Thanks
>
> Marco
>
> On Wed, Aug 5, 2026 at 11:44 AM Rudi Schlatte <[email protected]> wrote:
>
>
>
> --
> Marco Antoniotti, Professor, Director         tel. +39 - 02 64 48 79 01
> DISCo, University of Milan-Bicocca U14 2043   http://dcb.disco.unimib.it
> Viale Sarca 336
> I-20126 Milan (MI) ITALY
>
> REGAINS: https://regains.disco.unimib.it/
>
>
>
> > On 5 Aug 2026, at 09:57, Marco Antoniotti <[email protected]>
> wrote:
> >
> > Hi
> >
> > It has been too long since I dabbled in Java, but I am working on some
> threading code for ABCL.
> >
> > What would be a good implementation for BARRIERs in ABCL?
>
> Hi, if I don’t misunderstand the question, a barrier can be implemented
> using the Java class java.util.concurrent.CountDownLatch.
>
> (I’m not on irc these days except dropping in for a few minutes every
> other month..)
>
> Best,
>
> Rudi
>
>
>
>

-- 
Marco Antoniotti
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.