Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
future_status Enumeration

future_status Enumeration

Supplies symbolic names for the reasons that a timed wait function can return.

enum future_status{
    ready,
    timeout,
    deferred
};

Name

Description

deferred

The associated asynchronous state holds a deferred function that's not running.

ready

The associated asynchronous state is ready.

timeout

The time limit was reached.

Header: future

Namespace: std::future_status

Show:
© 2015 Microsoft