次の方法で共有


agent::start Method

Moves an agent from the agent_created state to the agent_runnable state, and schedules it for execution.

bool start();

Return Value

true if the agent started correctly, false otherwise. An agent that has been canceled cannot be started.

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

agent Class

agent_status Enumeration