atomic_inc_and_test — increment and test
int atomic_inc_and_test (atomic_t * v);
int atomic_inc_and_test (
)
v
pointer of type atomic_t
Atomically increments v by 1 and returns true if the result is zero, or false for all other cases.