1. NAME▲
__atomic_add_unless - add unless the number is already a given value
2. SYNOPSIS ▲
int __atomic_add_unless(atomic_t * v , int a , int u );
3. ARGUMENTS ▲
v
pointer of type atomic_t
a
the amount to add to v...
u
...unless v is equal to u.
4. DESCRIPTION ▲
Atomically adds a to v, so long as v was not already u. Returns the old value of v.
5. COPYRIGHT ▲