#include <simple_thread_safe_queue.h>
Public Types | |
typedef T | value_type |
Public Member Functions | |
T | blocking_pop () |
util::StatusOr< T > | blocking_pop (int wait_ms) |
void | clear () |
util::StatusOr< T > | pop () |
template<typename... Args> | |
void | push (Args &&...args) |
size_t | size () |
Private Attributes | |
std::condition_variable | condvar_ |
std::mutex | mutex_ |
std::queue< T > | queue_ |
Definition at line 40 of file simple_thread_safe_queue.h.
typedef T util::SimpleThreadSafeQueue< T >::value_type |
Definition at line 47 of file simple_thread_safe_queue.h.
T util::SimpleThreadSafeQueue< T >::blocking_pop | ( | ) | [inline] |
Definition at line 60 of file simple_thread_safe_queue.h.
util::StatusOr<T> util::SimpleThreadSafeQueue< T >::blocking_pop | ( | int | wait_ms | ) | [inline] |
Definition at line 68 of file simple_thread_safe_queue.h.
void util::SimpleThreadSafeQueue< T >::clear | ( | ) | [inline] |
Definition at line 90 of file simple_thread_safe_queue.h.
util::StatusOr<T> util::SimpleThreadSafeQueue< T >::pop | ( | ) | [inline] |
Definition at line 80 of file simple_thread_safe_queue.h.
void util::SimpleThreadSafeQueue< T >::push | ( | Args &&... | args | ) | [inline] |
Definition at line 48 of file simple_thread_safe_queue.h.
size_t util::SimpleThreadSafeQueue< T >::size | ( | ) | [inline] |
Definition at line 55 of file simple_thread_safe_queue.h.
std::condition_variable util::SimpleThreadSafeQueue< T >::condvar_ [private] |
Definition at line 44 of file simple_thread_safe_queue.h.
std::mutex util::SimpleThreadSafeQueue< T >::mutex_ [private] |
Definition at line 43 of file simple_thread_safe_queue.h.
std::queue<T> util::SimpleThreadSafeQueue< T >::queue_ [private] |
Definition at line 42 of file simple_thread_safe_queue.h.