Name

atomic_sub — subtract integer from atomic variable

Synopsis

void atomic_sub (int i,
 atomic_t * v);
 

Arguments

i

integer value to subtract

v

pointer of type atomic_t

Description

Atomically subtracts i from v.