synchronization
an archive of posts with this tag
-
condition_variable과 동기화 패턴
조건이 충족될 때까지 스레드를 어떻게 재웠다 깨우는가? 바쁜 대기를 없애는 condition_variable, lost/spurious wakeup을 막는 이유, 그리고 생산자·소비자 작업 큐.
an archive of posts with this tag
조건이 충족될 때까지 스레드를 어떻게 재웠다 깨우는가? 바쁜 대기를 없애는 condition_variable, lost/spurious wakeup을 막는 이유, 그리고 생산자·소비자 작업 큐.