Export (0) Print
Expand All

choice::accept Method

Accepts a message that was offered by this choice block, transferring ownership to the caller.

virtual message<size_t> * accept(
   runtime_object_identity _MsgId,
   ITarget<size_t> * _PTarget
);

_MsgId

The runtime_object_identity of the offered message object.

_PTarget

A pointer to the target block that is calling the accept method.

A pointer to the message that the caller now has ownership of.

Header: agents.h

Namespace: Concurrency

Community Additions

ADD
Show:
© 2014 Microsoft