future
an archive of posts with this tag
-
future, promise, async로 결과 다루기
스레드가 계산한 결과 하나를 어떻게 돌려받는가? mutex+cv 배관을 걷어내는 future/promise, std::async, packaged_task, 그리고 스레드 경계를 넘는 예외 전파.
an archive of posts with this tag
스레드가 계산한 결과 하나를 어떻게 돌려받는가? mutex+cv 배관을 걷어내는 future/promise, std::async, packaged_task, 그리고 스레드 경계를 넘는 예외 전파.