Subj : Re: CUJ Article: Atomic Reference Counting Pointers To : comp.programming.threads From : Alexander Terekhov Date : Wed Jan 05 2005 01:53 pm Joseph Seigh wrote: > > On Wed, 05 Jan 2005 11:26:13 +0100, Alexander Terekhov > wrote: > > > > > Joseph Seigh wrote: > > [...] > >> AtomicReference is compare and swap for Java pointers. > > > > atomic also has compare and swap (in addition to load(), store(), > > etc.) > > > >> It has nothing to do with reference counting. > > > > atomic also has nothing to do with reference counting. > > > >> You're not making any sense. > > > > I said "You would use atomic WITHOUT any reference counting." > > > > For what? For strong thread-safety of tr1::shared_ptr<>-like beasts (vs basic thread-safety). regards, alexander. .