ATOMIC_CAS 12 ruby_atomic.h # define ATOMIC_CAS(var, oldval, newval) \ ATOMIC_CAS 33 ruby_atomic.h # define ATOMIC_CAS(var, oldval, newval) __sync_val_compare_and_swap(&(var), (oldval), (newval)) ATOMIC_CAS 68 ruby_atomic.h # define ATOMIC_CAS(var, oldval, newval) InterlockedCompareExchange(&(var), (newval), (oldval)) ATOMIC_CAS 75 ruby_atomic.h # undef ATOMIC_CAS ATOMIC_CAS 76 ruby_atomic.h # define ATOMIC_CAS(var, oldval, newval) rb_w32_atomic_cas(&(var), (oldval), (newval)) ATOMIC_CAS 102 ruby_atomic.h # define ATOMIC_CAS(var, oldval, newval) atomic_cas_uint(&(var), (oldval), (newval)) ATOMIC_CAS 132 ruby_atomic.h # define ATOMIC_CAS(var, oldval, newval) ruby_atomic_compare_and_swap(&(var), (oldval), (newval))