
8 Jul
2006
8 Jul
'06
3:50 p.m.
Hi Peter, On 7/8/06, Peter Dimov <pdimov@mmltd.net> 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! Michael