Template Class BlockingReaderWriterQueue

Class Documentation

template<typename T, size_t MAX_BLOCK_SIZE = 512>
class BlockingReaderWriterQueue

Public Functions

inline explicit BlockingReaderWriterQueue(size_t maxSize = 15)
inline AE_FORCEINLINE bool tryEnqueue (T const &element)
inline AE_FORCEINLINE bool tryEnqueue (T &&element)
inline AE_FORCEINLINE bool enqueue (T const &element)
inline AE_FORCEINLINE bool enqueue (T &&element)
template<typename U>
inline bool tryDequeue(U &result)
template<typename U>
inline void waitDequeue(U &result)
template<typename U>
inline bool waitDequeTimed(U &result, std::int64_t timeout_usecs)
inline AE_FORCEINLINE T * peek ()
inline AE_FORCEINLINE bool pop ()
inline AE_FORCEINLINE size_t sizeApprox () const