ruby_atomic_compare_and_swap 123 ruby_atomic.h extern rb_atomic_t ruby_atomic_compare_and_swap(rb_atomic_t *ptr, ruby_atomic_compare_and_swap 132 ruby_atomic.h # define ATOMIC_CAS(var, oldval, newval) ruby_atomic_compare_and_swap(&(var), (oldval), (newval))