Glossary: C++ Beyond the Basics
Atomic
Also written: atomics, std::atomic
A type such as `std::atomic<int>` whose operations (`++`, `+=`, `.load()`) are single steps no other thread can split. It suits shared counters and flags.
Glossary: C++ Beyond the Basics
Also written: atomics, std::atomic
A type such as `std::atomic<int>` whose operations (`++`, `+=`, `.load()`) are single steps no other thread can split. It suits shared counters and flags.