Kawa fails if used in multithreading

Per Bothner per@bothner.com
Sun Aug 8 00:36:00 GMT 2010


On 08/07/2010 01:35 AM, Per Bothner wrote:
> If so, I'll check the change in tomorrow.

I checked in the fix.

Of course you also want to consider why you're doing 'eval'
so many times - unless it is just for testing.  You'd want
to avoid compiling the same code many times, since that
may be expensive.  One alternative is to eval an expression that
evaluates to a procedure, which you can save and call many  times.

If you're writing web server code, consider using the
"KawaAutoHandler" mechanism, which automatically uses
compiles and re-uses a "script":
http://www.gnu.org/software/kawa/Self-configuring-page-scripts.html
If this doesn't work right, I want to fix it!
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



More information about the Kawa mailing list