Embedded C++ for Real Systems
임베디드 Lock-free 기초 — atomic·memory ordering·CAS
Atomic, CAS, memory order — mutex 없이 동시성. 임베디드의 ISR-safe 패턴.
· 6분 읽기
cpp embedded
3개의 포스트
Atomic, CAS, memory order — mutex 없이 동시성. 임베디드의 ISR-safe 패턴.
CAS 기반 lock-free와 ABA 문제, hazard pointer와 epoch reclamation 비교.
CAS loop, strong과 weak CAS, ABA 회피, exponential backoff, spurious failure까지 CAS 사용의 표준 패턴을 정리합니다.