> There are IMHO two reasons why these statements may be 'executed' out of
> order:

Good explanation.  

> AFAIK the only mechanism the Java language provides to ensure this is
> the use of synchronized blocks.

One could also consider the volatile keyword in this category.  But
few JVMs implement volatile according to spec...

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to