This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: Thread-safe eval()
- From: Per Bothner <per at bothner dot com>
- To: Jost Boekemeier <jost2345 at yahoo dot de>
- Cc: kawa at sources dot redhat dot com
- Date: Mon, 01 Nov 2004 10:57:47 -0800
- Subject: Re: Thread-safe eval()
- References: <20041101175550.64885.qmail@web60104.mail.yahoo.com>
Jost Boekemeier wrote:
kawa fails to run the following simple test code
Scheme s = new Scheme();
s.eval(" (letrec ((f (lambda(v) (if (= v 0) 1 (* (f (-
v 1)) v)))))(f 155)) ");
when the above code is evaluated in more than one
thread. How do I write the above code so that it can
be evaluated in more than one thread at the same time?
Hm. I would expect that to work. Which version of Kawa are you
using? Could you try the CVS version to see if that works?
Otherwise, could you send a self-contained testcase so I can
look into it?
--
--Per Bothner
per@bothner.com http://per.bothner.com/