int atomic_sub_and_test (int i, atomic_t * v);
int atomic_sub_and_test
integer value to subtract
pointer of type atomic_t
Atomically subtracts i from v and returns true if the result is zero, or false for all other cases.