1. NAME

atomic_dec_and_test - decrement and test

2. SYNOPSIS

int atomic_dec_and_test(atomic_t *  v );

3. ARGUMENTS

v
    pointer of type atomic_t

4. DESCRIPTION

Atomically decrements v by 1 and returns true if the result is 0, or false for all other cases.

5. COPYRIGHT