다음을 통해 공유


shared_future::wait 메서드

Blocks the current thread until the associated asynchronous state is ready.

void wait() const;

설명

연결된 비동기 상태는 해당 비동기 공급자가 반환 값을 저장했거나 예외를 저장한 경우에만 준비입니다.

요구 사항

헤더: future

네임스페이스: std

참고 항목

참조

shared_future 클래스

<future>