Export (0) Print
Expand All

agent::done Method

Moves an agent into the agent_done state, indicating that the agent has completed.

_CRTIMP2 bool done();

true if the agent is moved to the agent_done state, false otherwise. An agent that has been canceled cannot be moved to the agent_done state.

This method should be called at the end of the run method, when you know the execution of your agent has completed.

Header: agents.h

Namespace: Concurrency

Community Additions

© 2014 Microsoft