Name

atomic_add — add integer to atomic variable

Synopsis

void atomic_add (int  i,
 atomic_t *  v);

Arguments

i

integer value to add

v

pointer of type atomic_t

Description

Atomically adds i to v.