I think "SingleThreaded" is rather misleading in this case. I know nothing about Avalon but from my experience it appears one flow interpreter is created per sitemap. However, this instance is definitely accessed by many threads concurrently. I had to put my own synchronization code into FOM_JavaScriptInterpereter to handle this.

Can someone who actually understands this stuff explain how it should it work?

Thanks,

Chris

Carsten Ziegeler wrote:

Just curious for the reason why o.a.c.c.flow.AbstractInterpreter
implements SingleThreaded (and therefore the flow interpreter as
well)?
SingleThreaded means that for each lookup a new instance is created.


Carsten






Reply via email to