1. NAME

atomic_sub_and_test - subtract value from variable and test result

2. SYNOPSIS

int atomic_sub_and_test(int  i , atomic_t *  v );

3. ARGUMENTS

i
    integer value to subtract

v
    pointer of type atomic_t

4. DESCRIPTION

Atomically subtracts i from v and returns true if the result is zero, or false for all other cases.

5. COPYRIGHT