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

Public Member Functions

 concurrent_priority_queue (const concurrent_priority_queue &)=delete
 
concurrent_priority_queueoperator= (const concurrent_priority_queue &)=delete
 
bool try_pop (T &out)
 
void push (const T &v)
 
template<typename... Args>
void emplace (Args &&... args)
 
std::size_t size () const
 
bool empty () const
 

Private Attributes

std::mutex m_mutex
 
std::priority_queue< T, std::vector< T >, Compare > m_queue
 

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