missing_wait 類別
這個類別描述 task_group 或 structured_task_group 物件的建構函式執行時若仍有工作排程至該物件所擲回的例外狀況。 如果例外狀況導致堆疊回溯而達到解構函式,永遠不會擲回此例外狀況。
class missing_wait : public std::exception;
成員
公用建構函式
名稱 |
描述 |
---|---|
多載。 建構 missing_wait 物件。 |
備註
例外狀況流程不存在,您必須先呼叫 task_group 或 structured_task_group 物件的 wait 或 run_and_wait方法,然後才能解構該物件。 執行階段會擲回這個例外狀況,表示您忘了呼叫 wait run_and_wait 方法。
繼承階層架構
exception
需求
標頭: concrt.h
**命名空間:**並行
請參閱
參考
structured_task_group::wait 方法