Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Enqueues an item at tail end of the concurrent queue. This method is concurrency-safe.
void push(
const _Ty& _Src
);
void push(
_Ty&& _Src
);
Parameters
- _Src
The item to be added to the queue.
Remarks
push is concurrency-safe with respect to calls to the methods push, try_pop, and empty.
Requirements
Header: concurrent_queue.h
Namespace: concurrency