Using the __atomic functions makes it easy to increment fundamental types atomically without converting them to std::atomic<T>.
Using the __atomic functions makes it easy to increment fundamental types atomically without converting them to std::atomic<T>.