Subj : Re: Memory visibility with Pthreads To : comp.programming.threads From : Christoph Bartoschek Date : Thu Aug 11 2005 12:12 pm Alexander Terekhov wrote: > > The standard doesn't say "fully". Certain functions merely "synchronize > memory" and only as long as the program is data race-free. Very relaxed > memory models like RCpc are fully compatible with Pthreads. How does the "synchronize memory" instead of "fully" apply to my example in the first post? Does it become invalid? And is the programm data race-free? I guess it is, because there is no possiblity that one thread writes to a variable and the other one tries to access it. Christoph Bartoschek .