<div dir="ltr">Did you understand the RMI thing instead? My wild guess is that you're running your program in a container of some sort (e.g. an application server), or using a framework like Spring that allows to publish services via RMI. Then you might not find any mention of RMI in PRISM's sources.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 26, 2014 at 9:16 AM, Mark Evenson <span dir="ltr"><<a href="mailto:evenson@panix.com" target="_blank">evenson@panix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On 25 Nov 2014, at 23:41, Robert Goldman <<a href="mailto:rpgoldman@sift.net">rpgoldman@sift.net</a>> wrote:<br>
><br>
> At the expense of following up on my own thread.....<br>
><br>
> I have Java code that is calling Lisp according to some of the examples<br>
> I have read.<br>
><br>
> I make a single Interpreter object, then I look up a function as defined in<br>
> ABCL.<br>
><br>
> I store these both on the java object that calls the ABCL function.<br>
><br>
> Then multiple times I call <function>.execute() and catch the result.<br>
><br>
> Could I inadvertently be creating a lot of LispThreads, causing my system<br>
> to eventually slow down and lock up?<br>
<br>
</span>Every call to Function.execute() will run in the invoking thread, so unless the<br>
invoked call path explicitly spawns a new thread, there should only be as many<br>
threads present as you are invoking.  LispThread is essentially a wrapper<br>
around a JVM thread that maintains a multi-threaded consistent view of the<br>
singleton Lisp environment as that JVM thread executes Lisp code.<br>
<br>
As for “catch the result”:  do you just mean act on the return value, or are<br>
you using a Java catch clause?<br>
<br>
Any chance you can put the source up publicly for me to have a shot at running it?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
"A screaming comes across the sky.  It has happened before but there is nothing<br>
to compare to it now."<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Armedbear-devel mailing list<br>
<a href="mailto:Armedbear-devel@common-lisp.net">Armedbear-devel@common-lisp.net</a><br>
<a href="http://mailman.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel" target="_blank">http://mailman.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel</a><br>
</div></div></blockquote></div><br></div>