You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 25, 2025. It is now read-only.
멀티 쓰레드 환경에서는 변수를 읽고 값을 변경시키는 중간에 컨텍스트 스위치가 일어나 예상치 못한 결과를 야기할 수 있습니다. 이러한 상황을 방지하기 위해서는 락(lock)을 이용하여 보호하여야 합니다. C++11의 atomic 템플릿 클래스는 이러한 작업을 간편하게 도와주는 클래스입니다.