atomic_set

Name

atomic_set --  set atomic variable

Synopsis

atomic_set ( v, i);

Arguments

v

pointer of type atomic_t

i

required value

Description

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