Atomic and pointer manipulation

Table of Contents
atomic_read --  read atomic variable
atomic_set --  set atomic variable
atomic_add --  add integer to atomic variable
atomic_sub --  subtract the atomic variable