Subj : Re: A question about atomic_ptr To : comp.programming.threads From : Chris Thomasson Date : Thu Apr 14 2005 09:28 am > I think that you have a bug in your PPC implementation, but I may be > missing > something. In inc_ref, you reload the pointer and check for change, > however, > the pointer is a local function argument (int* refcnt) and will never > change. Bingo! Good eye. .