Re: ABCL in a multi-threading environment
Blake McBride <[email protected]> Thu, 19 Sep 2024 13:01:45 -0500
| Newsgroups | gmane.editors.j.devel |
|---|---|
| Message-ID | <CABwHSOsZSDR+DfUrEODM0WbnwjmMCsW=kQFGAF_H8RY_bBDEdQ__692.893196695366$1726768957$gmane$org@mail.gmail.com> |
--000000000000eb313906227cb774 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Not a fan of Clojure, but thanks! With regard to my question, I'd like to add that the difficulty is that I do not know what ABCL is doing internally. Is it thread safe? Is it always thread safe? Thanks! Blake On Thu, Sep 19, 2024 at 12:42=E2=80=AFPM Garrett P Dangerfield < [email protected]> wrote: > 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-threadi= ng >> Java application in a read-only way. However, the Java threads themselve= s >> need to be able to introduce Lisp data that must be unique to each threa= d >> and gets deleted when the thread ends (presumably by the GC). >> >> Is there a way to do this with ABCL? >> >> Thank you! >> >> >> >> Blake McBride >> >> >> --000000000000eb313906227cb774 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">Not a fan of Clojure, but thanks!<div><br= ></div><div>With regard to my question, I'd like to add that the diffic= ulty is that I do not know what ABCL is doing internally.=C2=A0 Is it threa= d safe?=C2=A0 Is it always thread safe?</div><div><br></div><div>Thanks!</d= iv><div><br></div><div>Blake</div><div><br></div><div><br></div></div><br><= div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Sep= 19, 2024 at 12:42=E2=80=AFPM Garrett P Dangerfield <<a href=3D"mailto:g= [email protected]">[email protected]</a>> wrote:<br></div><blockq= uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p= x solid rgb(204,204,204);padding-left:1ex"><div dir=3D"auto">Worth looking = at Clojure too. It handles multi threading quite well.</div><div><br><div c= lass=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]= ame" target=3D"_blank">[email protected]</a>> wrote:<br></div><blockquo= te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px = solid rgb(204,204,204);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= already added to it but is not used too much. I have a particular need wit= hin that application that I think ABCL would be well suited for, but I firs= t need to better understand how ABCL functions in a multithreading environm= ent. 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 dat= a will be used by a multi-threading Java application in a read-only way. Ho= wever, the Java threads themselves need to be able to introduce Lisp data t= hat must be unique to each thread and gets deleted when the thread ends (pr= esumably by the GC).<br><br>Is there a way to do this with ABCL?<br><br>Tha= nk you!</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> </blockquote></div></div> --000000000000eb313906227cb774--