Subj : Re: Memory synchronization with pthreads To : comp.programming.threads From : Alexander Terekhov Date : Tue Jan 18 2005 10:18 am Joseph Seigh wrote: [...] > > It does not say "if you registered an at fork handler with pthread_atfork() > > AND the handler invoked pthread functions that synchronized memory". > > fork shouldn't be in that list. Wrong. In release consistency speak, fork() has "release->acquire" msync semantics with respect to the calling thread and the initial thread in the created process. The fact that the copy "is made" (COW aside for a moment) is pretty much irrelevant. regards, alexander. .