Public Member Functions | |
SafeQueue (const SafeQueue &rhs) | |
void | push (T data) |
void | pushNoMove (T data) |
void | waitAndPop (T &res) |
auto | pop () |
auto | size () |
auto | empty () |
auto | front () |
void | operator= (const SafeQueue &D) |
void | operator= (const std::queue< T > &D) |
void | waitAndPopNoMOve (T &res) |
bool | tryPop (T &res) |
shared_ptr< T > | waitAndPop () |
shared_ptr< T > | tryPop () |
Public Attributes | |
mutex | m_mut |
condition_variable | m_cond |
queue< T > | m_queue |