Possible Duplicate:
Java multi-threading & Safe Publication
I did not understand what unsafe publication is. Can anyone provide a simple example for unsafe publication and explain the adverse effect based on the example.
EDIT: This is not a duplicate of the question mentioned as "Possible duplicate". Please reopen this.