Subj : Re: [.NET] Volatile Fields [correction] To : comp.programming.threads From : Cool Guy Date : Mon Sep 19 2005 06:55 pm David Hopwood wrote: > The write to Y is not performed as a single atomic event; it has to be modelled > as two events: "Y = 1 is performed with respect to processor 2" and "Y = 1 is > performed with respect to processor 3". So it can happen that processor 2 sees > Y == 1 before writing Z = 1, but processor 3 does not see Y == 1 until after > it sees Z == 1. So it's impossible to make such code thread-safe, then? .