Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Moves an agent from either the agent_created or agent_runnable states to the agent_canceled state.
bool cancel();
Return Value
true if the agent was canceled, false otherwise. An agent cannot be canceled if it has already started running or has already completed.
Requirements
Header: agents.h
Namespace: concurrency