Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Moves an agent from either the agent_created or agent_runnable states to the agent_canceled state.
_CRTIMP2 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