Glossary: System Design Basics in C++
atomic
Also written: atomicity, atomic operation
A single step that can't be split, so nothing can happen between the check and the change. It prevents two checkouts from selling the last bag.
Glossary: System Design Basics in C++
Also written: atomicity, atomic operation
A single step that can't be split, so nothing can happen between the check and the change. It prevents two checkouts from selling the last bag.