memory-model
an archive of posts with this tag
-
atomic과 메모리 모델
잠금 없이 공유하는 건 어떻게 가능한가? std::atomic과 CAS, 컴파일러·CPU의 재배치, 그리고 seq_cst·acquire/release·relaxed 메모리 오더링과 happens-before.
an archive of posts with this tag
잠금 없이 공유하는 건 어떻게 가능한가? std::atomic과 CAS, 컴파일러·CPU의 재배치, 그리고 seq_cst·acquire/release·relaxed 메모리 오더링과 happens-before.