atomic_read

Name

atomic_read --  read atomic variable

Synopsis

atomic_read ( v);

Arguments

v

pointer of type atomic_t

Description

Atomically reads the value of v. Note that the guaranteed useful range of an atomic_t is only 24 bits.