std atomic int example