CMGDK r49-rc2
|
宏定义 | |
#define | MY_ATOMIC_MODE "atomic_builtins" |
#define | make_atomic_add_body(S) v= __sync_fetch_and_add(a, v); |
#define | make_atomic_swap_body(S) v= __sync_lock_test_and_set(a, v); |
#define | make_atomic_cas_body(S) |
#define | MY_ATOMIC_MODE "gcc-builtins-smp" |
#define | make_atomic_load_body(S) ret= __sync_fetch_and_or(a, 0); |
#define | make_atomic_store_body(S) (void) __sync_lock_test_and_set(a, v); |
#define make_atomic_cas_body | ( | S | ) |
#define make_atomic_load_body | ( | S | ) | ret= __sync_fetch_and_or(a, 0); |
#define MY_ATOMIC_MODE "atomic_builtins" |
#define MY_ATOMIC_MODE "gcc-builtins-smp" |