Subj : Re: [.NET] Memory Barriers To : comp.programming.threads From : David Schwartz Date : Wed Sep 14 2005 03:06 am "Cool Guy" wrote in message news:116oqbozfhps3$.dlg@cool.guy.abc.xyz... > 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. DS .