Name

atomic_add_return — add integer and return

Synopsis

int atomic_add_return (int i,
 atomic_t * v);
 

Arguments

i

integer value to add

v

pointer of type atomic_t

Description

Atomically adds i to v and returns i + v