[Armedbear-devel] How to get a fresh session or instance

Robert Dodier robert.dodier at gmail.com
Wed Dec 10 18:02:03 UTC 2014


On 2014-12-10, Mark Evenson <evenson at panix.com> wrote:

> The Lisp environment is a global singleton per JVM process, like that
> of any other Lisp implementation is per OS process.

Hmm, I wonder if it's possible to use multiple classloaders to get
separate ABCL environments ...

> To carry forward the comparison with SBCL:  what would it take to
> make SBCL have a “fresh instance”?

SBCL has some POSIX functions, including fork, which makes possible
the conventional Unixy client/server model. I'm not trying to create
exactly that functionality for ABCL but it is not too far off.

> Could you be more specific about your use case?

Well, I am loading ABCL and then Maxima into a Jetty servlet.
The servlet class exposes a few methods which call Maxima functions
to provide some services to Flex clients; BlazeDS is the glue.
I'd like to figure out a way to ensure that different browser
sessions don't step on each others toes. Maxima itself doesn't
have any way to do that.

best,

Robert Dodier


_______________________________________________
Armedbear-devel mailing list
Armedbear-devel at common-lisp.net
http://mailman.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel


More information about the armedbear-devel mailing list