Simple concurrent Queue class using an stl queue.
Nothing is special here compare to stl queue except it has only simple operations and it is thread safe.
Definition at line 32 of file concurrent_queue.h.
Public Member Functions | |
void | push (const T &elm) |
T | pop () |
bool | is_empty () |
bool ConcurrentQueue< T >::is_empty |
Definition at line 63 of file concurrent_queue.h.
T ConcurrentQueue< T >::pop |
Definition at line 53 of file concurrent_queue.h.
void ConcurrentQueue< T >::push | ( | const T & | elm | ) |
Definition at line 45 of file concurrent_queue.h.