#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.
|
inline |
Definition at line 60 of file simple_thread_safe_queue.h.
|
inline |
Definition at line 68 of file simple_thread_safe_queue.h.
|
inline |
Definition at line 90 of file simple_thread_safe_queue.h.
|
inline |
Definition at line 80 of file simple_thread_safe_queue.h.
|
inline |
Definition at line 48 of file simple_thread_safe_queue.h.
|
inline |
Definition at line 55 of file simple_thread_safe_queue.h.
|
private |
Definition at line 44 of file simple_thread_safe_queue.h.
|
private |
Definition at line 43 of file simple_thread_safe_queue.h.
|
private |
Definition at line 42 of file simple_thread_safe_queue.h.