Subj : Re: A question about atomic_ptr To : comp.programming.threads From : Chris Thomasson Date : Thu Apr 14 2005 07:56 am >>> The ppc version of atomic_ptr uses different interlocked logic since >>> ppc doesn't have double wide CAS. >> >> I thought it had ldarx/stdcx.? > > You use ll/sc to create atomic primitives. Arggrhrgh. I read lwarx/stwcx, did not notice the doubleword version. Sorry! Anyway, I think that lwarx/stwcx and ldarx/stdcx "both" work on 64-bit cpu, work on 64-bit values... I am not totally sure. .