jastrachan | 7 Apr 09:28 2005

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)