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


The runtime_object_identity of the offered message object.


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

© 2014 Microsoft