Template Class SimpleConcurrentQueue

Class Documentation

template<typename ElementType>
class SimpleConcurrentQueue

Simple concurrent wrapper around std::queue.

Public Functions

inline void Push(const ElementType &value)
inline void Push(ElementType &&value)
inline ElementType Pop()
inline bool Empty()
inline size_t Size()
inline size_t RemoveIf(std::function<bool(ElementType&)> pred)

Erases elements conditionally.

Returns

Number of erased elements