Atomicity
The property that an operation is indivisible—it either succeeds completely or fails completely, never partially or observable in an intermediate state.
In concurrent programming, atomicity means an operation cannot be interrupted midway by another thread. An atomic read-and-write of two values cannot be observed as partially complete by a third thread. This guarantee is fundamental for building higher-level synchronization and is often implemented in hardware through specialized instructions.
Atomicity is also a central property in transaction theory (ACID), where it ensures database transactions are consistent.