atomic_compare_and_swap 276 maint/gnulib/lib/asyncsafe-spin.c while (atomic_compare_and_swap (vp, 0, 1) != 0) atomic_compare_and_swap 284 maint/gnulib/lib/asyncsafe-spin.c if (atomic_compare_and_swap (vp, 1, 0) != 1) atomic_compare_and_swap 35 maint/gnulib/lib/simple-atomic.h extern unsigned int atomic_compare_and_swap (unsigned int volatile *vp, atomic_compare_and_swap 62 maint/gnulib/tests/test-simple-atomic.c if (atomic_compare_and_swap (&int_variable, 0, 10) == 0) atomic_compare_and_swap 66 maint/gnulib/tests/test-simple-atomic.c if (atomic_compare_and_swap (&int_variable, 14, 17) == 14) atomic_compare_and_swap 70 maint/gnulib/tests/test-simple-atomic.c if (atomic_compare_and_swap (&int_variable, 20, 0) == 20) atomic_compare_and_swap 74 maint/gnulib/tests/test-simple-atomic.c if (atomic_compare_and_swap (&int_variable, 10, 14) == 10) atomic_compare_and_swap 78 maint/gnulib/tests/test-simple-atomic.c if (atomic_compare_and_swap (&int_variable, 17, 20) == 17) atomic_compare_and_swap 128 maint/gnulib/tests/test-simple-atomic.c ASSERT (atomic_compare_and_swap (&x[1], 0, 17) == 11); atomic_compare_and_swap 131 maint/gnulib/tests/test-simple-atomic.c ASSERT (atomic_compare_and_swap (&x[1], 4, 11) == 11); atomic_compare_and_swap 134 maint/gnulib/tests/test-simple-atomic.c ASSERT (atomic_compare_and_swap (&x[1], 11, 15) == 11);