Hello

What is thread safety policy of Qi4j?

In several places, there are composite actions that are subject for 
failure unless the code is guaranteed to be thread confined.  For 
example, in PropertyInstance, there is no obvious synchronization 
strategy to guard <code>value</code> from invisibility:

    public T get()
    {
        if( value == ImmutablePropertyInstance.UNSET )
        {
            return (T) ( (PropertyDescriptor) propertyInfo ).defaultValue();
        }
        return value;
    }


Thanks.

Best regards
Nader Aeinehchi

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to