Export (0) Print
Expand All

single_assignment::accept_message Method

Accepts a message that was offered by this single_assignment messaging block, returning a copy of the message to the caller.

virtual message<_Type> * accept_message(
   runtime_object_identity _MsgId
);

_MsgId

The runtime_object_identity of the offered message object.

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

The single_assignment messaging block returns copies of the message to its targets, rather than transferring ownership of the currently held message.

Header: agents.h

Namespace: Concurrency

Community Additions

ADD
Show:
© 2014 Microsoft