Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
concurrent_queue::push Method

concurrent_queue::push Method

Enqueues an item at tail end of the concurrent queue. This method is concurrency-safe.

void push(
   const _Ty& _Src

void push(
   _Ty&& _Src


The item to be added to the queue.

push is concurrency-safe with respect to calls to the methods push, try_pop, and empty.

Header: concurrent_queue.h

Namespace: concurrency

© 2015 Microsoft