Subj : Re: Memory Barriers, Compiler Optimizations, etc. To : comp.programming.threads From : SenderX Date : Mon Feb 07 2005 03:49 pm >> Is this safe? >> > > Yes. As another poster mentions a less contrived example > would be using say InterlockedCompareExchange to do > one time initialization and if the call fails using the return > as the initialized value. If the initialized value was a pointer to a new object, would the pointed to object be fully visible? .