Richard Eckart de Castilho <rec@...> writes:

> 
> I assume you are talking about runtime, not initialization time.
> 
> At runtime, it is convenient if the shared object has no mutable
> state. If it has, you might want to wrap that in as ThreadLocal
> variable.
> 
> If there is a problem during initialization, that would be a bug
> I suppose.
> 


Thanks for your answers.

Yes I was talking about runtime.
We found that the sharedresource was using instance variable and have changed 
it to local variable. It runs ok now.

Reply via email to