missing_wait 클래스

이 클래스는 개체의 소멸자를 실행할 때 task_group 또는 structured_task_group 개체에 작업이 예약되어 있을 때마다 throw되는 예외를 설명합니다. 예외의 결과로 스택 해제로 소멸자가 도달할 경우 이 예외는 throw되지 않습니다.

class missing_wait : public std::exception;

멤버

Public 생성자

Name

설명

missing_wait::missing_wait 생성자

오버로드되는 이 메서드는 missing_wait 개체를 생성합니다.

설명

예외 흐름이 없으면 해당 개체가 소멸되기 전에 task_group 또는 structured_task_group 개체의 wait 또는 run_and_wait 메서드를 호출해야 합니다. 런타임은 wait 또는 run_and_wait 메서드를 호출하지 않았음을 알리기 위해 이 예외를 throw합니다.

상속 계층 구조

exception

missing_wait

요구 사항

헤더: concrt.h

네임스페이스: 동시성

참고 항목

참조

동시성 네임스페이스

task_group 클래스

task_group::wait 메서드

structured_task_group 클래스

structured_task_group::wait 메서드

기타 리소스

task_group::run_and_wait 메서드

structured_task_group::run_and_wait 메서드