Compartilhar via


unbounded_buffer::enqueue Method

Adds an item to the unbounded_buffer messaging block.

bool enqueue(
   _Type const& _Item
);

Parameters

  • _Item
    The item to add.

Return Value

true if the item was accepted, false otherwise.

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

unbounded_buffer Class