declare x as pointer to atomic int