Export (0) Print
Expand All

missing_wait Class

This class describes an exception that is thrown whenever there are tasks still scheduled to a task_group or structured_task_group object at the time that object's destructor executes. This exception will never be thrown if the destructor is reached due to stack unwinding as the result of an exception.

class missing_wait : public std::exception;

Public Constructors



missing_wait::missing_wait Constructor

Overloaded. Constructs a missing_wait object.

Absent exception flow, you are responsible for calling either the wait or run_and_wait method of a task_group or structured_task_group object before allowing that object to destruct. The runtime throws this exception as an indication that you forgot to call the wait or run_and_wait method.

Header: concrt.h

Namespace: Concurrency

Community Additions

© 2014 Microsoft