unbounded_buffer::propagate_to_any_targets Method
Places the message_PMessage in this unbounded_buffer messaging block and tries to offer it to all of the linked targets.
virtual void propagate_to_any_targets(
message<_Type> * _PMessage
);
Parameters
- _PMessage
A pointer to a message object that this unbounded_buffer has taken ownership of.
Remarks
If another message is already ahead of this one in the unbounded_buffer, propagation to linked targets will not occur until any earlier messages have been accepted or consumed. The first linked target to successfully accept or consume the message takes ownership, and no other target can then get the message.
Requirements
Header: agents.h
Namespace: Concurrency