Subj : Re: A question about atomic_ptr To : comp.programming.threads From : Alexander Terekhov Date : Thu Apr 14 2005 06:51 pm Peter Dimov wrote: > > Joe Seigh wrote: > > As far as the offset goes, I hardcoded the offset > > in my version since I have a non-intrusive refcount and I control the > > format and there didn't seem to be an offset_of macro around. > > There should be an 'offsetof' in stddef.h Can you post the pseudo code for that "atomic_ptr"/PPC thing? (Joe sources are unreadable to me. ;-) ) Does it try to access (via stwcx) reclaimed memory or not? regards, alexander. .