VALUE method_atomic_fixnum_compare_and_set(VALUE self, VALUE rb_expect, VALUE rb_update) { Check_Type(rb_expect, T_FIXNUM); Check_Type(rb_update, T_FIXNUM); return ir_compare_and_set(self, rb_expect, rb_update); }
VALUE method_atomic_boolean_make_false(VALUE self) { return(ir_compare_and_set(self, Qtrue, Qfalse)); }