blob: 75f04c085f252c881c1294e46c5ddbdf107ad702 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
cat <<EOF
/**
* ${class}${atomicname}() - atomic exchange with ${desc_order} ordering
* @v: pointer to ${atomic}_t
* @new: ${int} value to assign
*
* Atomically updates @v to @new with ${desc_order} ordering.
*
* ${desc_noinstr}
*
* Return: The original value of @v.
*/
EOF
|