Anklang C++ API 0.0.0
Loading...
Searching...
No Matches
AsyncBlockingQueue< Value >

#include "platform.hh"

Public Member Functions

boolpending ()
Valuepop ()
voidpush (const Value &v)
voidswap (std::list< Value > &list)

Detailed Description

template<class Value>
class Ase::AsyncBlockingQueue< Value >

This is a thread-safe asyncronous queue which blocks in pop() until data is provided through push().

Member Function Documentation

push()

template<class Value >
void push ( const Value & v)

pop()

template<class Value >
Value pop ( )

pending()

template<class Value >
bool pending ( )

swap()

template<class Value >
void swap ( std::list< Value > & list)