unbounded_buffer::accept_message Method

unbounded_buffer::accept_message Method

Accepts a message that was offered by this unbounded_buffer messaging block, transferring ownership 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.

Header: agents.h

Namespace: Concurrency

Community Additions

ADD
Show:
© 2016 Microsoft