Re: ABCL in a multi-threading environment
Garrett P Dangerfield <[email protected]> Thu, 19 Sep 2024 10:41:50 -0700
| Newsgroups | gmane.editors.j.devel |
|---|---|
| Message-ID | <CAJ1CPEx7s+iyb3ru1so5OPWRMYKWkn0=qv+PfZ-kOHn-bAYwRA__21675.1526620769$1726767762$gmane$org@mail.gmail.com> |
--0000000000009f3e1d06227c702f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Worth looking at Clojure too. It handles multi threading quite well. On Thu, Sep 19, 2024 at 4:38=E2=80=AFAM Blake McBride <[email protected]> = wrote: > Hello, > > I have a multi-threading Java application (like a web server). ABCL is > already added to it but is not used too much. I have a particular need > within that application that I think ABCL would be well suited for, but I > first need to better understand how ABCL functions in a multithreading > environment. What I need is as follows. > > I have some Lisp code and data that will be defined both by .lisp files > and from within Java. This code and data will be used by a multi-threadin= g > Java application in a read-only way. However, the Java threads themselves > need to be able to introduce Lisp data that must be unique to each thread > and gets deleted when the thread ends (presumably by the GC). > > Is there a way to do this with ABCL? > > Thank you! > > > > Blake McBride > > > --0000000000009f3e1d06227c702f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">Worth looking at Clojure too. It handles multi threading = quite well.</div><div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class= =3D"gmail_attr">On Thu, Sep 19, 2024 at 4:38=E2=80=AFAM Blake McBride <<= a href=3D"mailto:[email protected]">[email protected]</a>> wrote:<br><= /div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le= ft:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><p>Hello,<br><br>= I have a multi-threading Java application (like a web server). ABCL is alre= ady added to it but is not used too much. I have a particular need within t= hat application that I think ABCL would be well suited for, but I first nee= d to better understand how ABCL functions in a multithreading environment. = What I need is as follows.<br><br>I have some Lisp code and data that will = be defined both by .lisp files and from within Java. This code and data wil= l be used by a multi-threading Java application in a read-only way. However= , the Java threads themselves need to be able to introduce Lisp data that m= ust be unique to each thread and gets deleted when the thread ends (presuma= bly by the GC).<br><br>Is there a way to do this with ABCL?<br><br>Thank yo= u!</p></div></div><div dir=3D"ltr"><div><p><br><br>Blake McBride</p></div><= div><br></div><div><br></div></div> </blockquote></div></div> --0000000000009f3e1d06227c702f--