Subj : Re: [.NET] Memory Barriers To : comp.programming.threads From : Cool Guy Date : Wed Sep 14 2005 12:12 pm David Schwartz wrote: >> In the following code, is it safe to access Test.o in ThreadJob, >> considering it's not volatile and no locking is involved in its access? >> >> I think I remember reading that it's okay to do this if the variable is >> only *written* to before the worker *reading* thread is created, but I'm >> not sure. > > When a thread is created, it has a synchronized view of memory with the > thread that created it. That sounds good. If I may ask, is this documented anywhere? .