Quoting Niclas Hedhman <[email protected]>:
class VolatileExample {
int x = 0;
volatile boolean v = false;
<snip>
private volatile int x = 0;
private boolean v = false;
Umm I'm not sure if that is intended, but in your second code the
boolean is non-volatile while int is volatile, and in the first code
it is other way around. Could that be the reason for confusion?
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev