c++ atomic variable 예제 코드

c++ atomic variable 예제 코드를 설명합니다. 어떤 상황에서 atomic 을 사용 할 수 있으며, 기존 mutable mutex 예제에 atomic variable 을 적용해봤습니다.