From: Michael van der Westhuizen (r1mikey_at_[hidden])
Date: 2006-07-08 11:50:25
On 7/8/06, Peter Dimov <pdimov_at_[hidden]> wrote:
> Thanks. I've attached my current version of sp_counted_base_gcc_sparc.hpp.
> Does it look correct to you?
compare_and_swap certainly looks correct.
atomic_fetch_and_add and atomic_conditional_increment both call
compare_exchange, which does not exist in this file - are they meant
to call compare_and_swap?
I like the use of __builtin_expect - I didn't know that existed!