On Fri, Apr 8, 2011 at 10:50 PM, meh. <m...@paranoici.org> wrote:

>  
> <https://github.com/meh/craftd/blob/master/scripting/lisp/helpers.c#L49>let's 
> say the eval'd string is
> (asdf:load-system :craftd) if any of the loaded files have a syntax
> error my eval function doesn't know something went wrong.
> Is there a way to know that?
>

This has also been dealt with in the mailing list.


> Second, my application is threaded, there's a worker system where each
> worker
> has a thread so LISP code can be executed in different threads.
>

That's fine if the threads are created by ECL, but if they are created by
your C/C++ application then you have to register them with ECL. Search the
mailing list if this is your case.


> If I put the threading stuff in the eval function it segfaults on the
> release, so I guess I have to run those two functions after a worker
> has started and before a worker is killed, is this right? Is there an
> easier way to achieve thread safety for LISP execution?
>

I do not really understand this paragraph very well.

Juanjo

-- 
Instituto de FĂ­sica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to