45 std::lock_guard<std::mutex> other_lock(other.
queue_mutex_);
56 std::lock_guard<std::mutex> other_lock(other.
queue_mutex_);
68 void push(
const T& value) {
75 void push(
const std::vector<T>& values) {
78 for (
typename std::vector<T>::const_iterator it = values.begin();
79 it != values.end(); ++it) {
std::queue< T > internal_queue_
shared_queue(const shared_queue &other)
void push(const T &value)
std::atomic< bool > queue_empty_
void push(const std::vector< T > &values)
shared_queue & operator=(const shared_queue &other)