Detailed semantics of volatile regarding timeliness of visibility
Turns out that the answers and the ensuing discussions only consolidated my original reasoning. I now have something in the way of a proof: take the case where the reading thread executes in full before the writing thread starts executing; note the synchronization order that this particular run created; now shift the threads in wall-clock … Read more