Subj : Re: Memory synchronization with pthreads To : comp.programming.threads From : Alexander Terekhov Date : Tue Jan 18 2005 04:11 pm Joseph Seigh wrote: [...] > > Wrong. In release consistency speak, fork() has "release->acquire" > > msync semantics with respect to the calling thread and the initial It's actually sorta stronger than "release" for the calling thread. But the statement (in the proposed fix) saying that "Functions listed above and also pthread_cond_signal() and pthread_cond_broadcast() are all side effects." takes care of it nicely. > > thread in the created process. The fact that the copy "is made" > > (COW aside for a moment) is pretty much irrelevant. > > > > release/acquire only has meaning for shared memory. The forked process > doesn't share memory. You're reading into the spec something that's > not there. I think you simply don't get it. regards, alexander. .