1 2 3 4 5 6 7
cat <<EOF static __always_inline bool raw_${atomic}_inc_and_test(${atomic}_t *v) { return raw_${atomic}_inc_return(v) == 0; } EOF