Memory Barrier - CI/CD用語集の定義
メモリバリア (fence) とは、その周囲のメモリの読み書きの順序を制約する命令で、CPU や compiler が操作を並べ替えて lock-free や producer/consumer なアルゴリズムを不正にすることを防ぎます。
関連ガイド
Atomic Operation - CI/CD Glossary DefinitionAn atomic operation completes indivisibly - no other thread observes a partial result - the building block of…
Lock-Free - CI/CD Glossary DefinitionA lock-free algorithm guarantees some thread always makes progress without locks, avoiding deadlock and prior…
Cache Line - CI/CD Glossary DefinitionA cache line is the fixed-size block (often 64 bytes) the CPU moves between memory and cache as a unit - the…