Atomic Operation - CI/CD用語集の定義
アトミック操作は一つの不可分なステップとして実行されるため、並行するスレッドがそれを途中の状態で見ることは決してありません (例: compare-and-swap、fetch-and-add)。アトミックは、lock-free なデータ構造や正しく共有されるカウンタが構築される元となるプリミティブです。
関連ガイド
Memory Barrier - CI/CD Glossary DefinitionA memory barrier forces an ordering on memory operations, so CPU or compiler reordering can’t break the visib…
Lock-Free - CI/CD Glossary DefinitionA lock-free algorithm guarantees some thread always makes progress without locks, avoiding deadlock and prior…
False Sharing - CI/CD Glossary DefinitionFalse sharing is when threads update different variables sharing one cache line, forcing costly coherency tra…