jastrachan | 7 Apr 09:28 2005
Picon

Re: GroovyShell thread safe


On 7 Apr 2005, at 07:51, Dominik Roblek wrote:

> Does anybod know, whether is GroovyShell class therad safe?
>
> Dominik
>

GroovyShell is pretty simple & lightweight; I'd be tempted to use one 
per thread just in case. e.g. you probably want different variable 
bindings of each thread so that variables don't step on each others 
toes. (You might wanna register a shared set of bindings across the 
threads - like the Application/Servlet Context in servlets)

James
-------
http://radio.weblogs.com/0112098/


Gmane