SObjectizer
5.5
|
Method so_5::rt::agent_coop_t::add_agent() now returns pointer to the agent that has been added to cooperation. That pointer remains valid until cooperation object is live.
This method format simplifies access to agent's direct mbox (see so-5.4.0: New type of mbox -- multi-producer and single-consumer for the details about direct mboxes). The following example shows exchange of references to direct mboxes in ping-pong sample: