255 Subj : Re: CUJ Article: Atomic Reference Counting Pointers To : comp.programming.threads From : Alexander Terekhov Date : Tue Jan 04 2005 07:47 pm Joseph Seigh wrote: [...] > If you had real GC (I assume you're referring to Boehm style GC) and its > performance wasn't a problem, why would you use reference counting? You would use atomic without any reference counting. With real GC, strong thread-safety for shared_ptr-like beasts comes almost "for free" (apart from extra msync which is not needed in the case of basic thread-safety). regards, alexander. . 0