Compartilhar via


unbounded_buffer::propagate_output_messages 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_output_messages();

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

See Also

Reference

unbounded_buffer Class