Introduction to Asynchronous Agents Library - Parallel Programming ...
2009-06-03
MyAgent myagent();. myagent is now in the 'agent_created' state. myagent.start();. Calling start() moves the agent to 'agent_runnable'. agent::wait(&myagent);. Wait blocks until myagent reaches one of the final states (agent_cancelled, ...