Peter Dimov | 1 Apr 2005 19:10

Re: Fw: [patch] Make std::tr1::shared_ptr thread-safe.

Alexander Terekhov wrote:
>> or powerpc:
>
> Well, see
>
> http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/powerpc/bits/atomic.h?cvsroot=glibc

I see no "release" barriers in exchange_and_add or the decrements, only an 
"acquire if zero" in decrement_if_positive. 


Gmane