1if [ -z "${pfx}" ]; then 2 desc_return="Return: @true if @v was updated, @false otherwise." 3fi 4 5cat <<EOF 6/** 7 * ${class}${atomicname}() - atomic add unless value with ${desc_order} ordering 8 * @v: pointer to ${atomic}_t 9 * @a: ${int} value to add 10 * @u: ${int} value to compare with 11 * 12 * If (@v != @u), atomically updates @v to (@v + @a) with ${desc_order} ordering. 13 * Otherwise, @v is not modified and relaxed ordering is provided. 14 * 15 * ${desc_noinstr} 16 * 17 * ${desc_return} 18 */ 19EOF 20