template class std_ext::AtomicQueue
Overview
Queue which allows calling members from multiple threads without interference. More…
#include <AtomicQueue.h> template <typename T> class AtomicQueue { public: // methods T& GetNext(); T Pop(); void Push(T value); bool IsEmpty() const; size_t GetSize() const; };
Detailed Documentation
Queue which allows calling members from multiple threads without interference.
Methods
T& GetNext()
Get next record from queue.
T Pop()
Get next record from queue and remove it from the queue.
void Push(T value)
Add new record to queue.
bool IsEmpty() const
Check, whether the queue is empty.
size_t GetSize() const
Get the number of records currently in the queue.