Name

atomic64_inc_and_test — increment and test

Synopsis

int atomic64_inc_and_test (atomic64_t * ptr);
 

Arguments

ptr

pointer to type atomic64_t

Description

Atomically increments ptr by 1 and returns true if the result is zero, or false for all other cases.