Wildmeshing Toolkit
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
wmtk::threading::concurrent_queue< T > Class Template Reference

Public Member Functions

 concurrent_queue (const concurrent_queue &)=delete
 
concurrent_queueoperator= (const concurrent_queue &)=delete
 
bool try_pop (T &out)
 
void push (const T &v)
 
template<typename... Args>
void emplace (Args &&... args)
 
bool empty () const
 

Private Attributes

std::mutex m_mutex
 
std::deque< T > m_queue
 

The documentation for this class was generated from the following file: