Re: ABCL Threads

David Cooper <[email protected]>
Newsgroups gmane.editors.j.devel
Message-ID <19fd2b3e2d6.ddba9ef2365357.7304073726297091180__47582.1024434239$1785946449$gmane$org@genworks.com>
Hi Marco, 

I don't have experience specifically with threads on abcl yet, but regarding abcl in general, I took on maintenance of the 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 < mailto:[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 < mailto:[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
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.