Subj : Re: A question about atomic_ptr To : comp.programming.threads From : David Hopwood Date : Tue Apr 12 2005 07:15 pm Alexander Terekhov wrote: > Peter Dimov wrote: >>Alexander Terekhov wrote: >> >>Do you mean that on some systems a 32 bit int aligned on a 32 bit boundary >>may not allow atomic accesses? Or in more general terms, a type T's natural >>alignment may not be sufficient to ensure atomicity? > > Show me first chapter and verb for "natural alignment" in C/C++ or > even POSIX, please. "Natural alignment" is defined by the ABI of each platform, not by the language or by POSIX. But it *is* defined. -- David Hopwood .