[Ecls-list] embedding questions

Matthew Mondor mm_lists at pulsar-zone.net
Tue Dec 11 18:31:03 UTC 2012


On Tue, 11 Dec 2012 11:01:18 -0600
Peter Keller <psilord at cs.wisc.edu> wrote:

> On Sat, Dec 08, 2012 at 05:47:11AM -0500, Matthew Mondor wrote:
> > On Sat, 8 Dec 2012 01:46:16 -0600
> > A precaution is necessary if Lisp functions will be called from C
> > by threads which weren't started by ECL: such threads should first be
> > "registered" with ECL.  This is not an issue specific to ECL though, as
> > I've seen this with other embeddable languages.
> 
> It turns out that this is something I have to worry about. How does one
> do this registration in ECL?

See
http://www.mail-archive.com/ecls-list@lists.sourceforge.net/msg02111.html
for an example using ecl_import_current_thread().  Unfortunately it
seems that the manual doesn't yet document this though, or I at least
failed to find it there.
-- 
Matt




More information about the ecl-devel mailing list