Using std::atomic