Home
last modified time | relevance | path

Searched refs:bounded_buffer (Results 1 – 6 of 6) sorted by relevance

/third_party/boost/libs/circular_buffer/example/
Dcircular_buffer_bound_example.cpp25 class bounded_buffer class
34 explicit bounded_buffer(size_type capacity) : m_unread(0), m_container(capacity) {} in bounded_buffer() function in bounded_buffer
40 m_not_full.wait(lock, boost::bind(&bounded_buffer<value_type>::is_not_full, this)); in push_front()
49 m_not_empty.wait(lock, boost::bind(&bounded_buffer<value_type>::is_not_empty, this)); in pop_back()
56 bounded_buffer(const bounded_buffer&); // Disabled copy constructor.
57 bounded_buffer& operator = (const bounded_buffer&); // Disabled assign operator.
169 bounded_buffer<int> bb_int(queue_size); in main()
Dbounded_buffer_comparison.cpp26 class bounded_buffer { class
34 explicit bounded_buffer(size_type capacity) : m_unread(0), m_container(capacity) {} in bounded_buffer() function in bounded_buffer
38 m_not_full.wait(lock, boost::bind(&bounded_buffer<value_type>::is_not_full, this)); in push_front()
47 m_not_empty.wait(lock, boost::bind(&bounded_buffer<value_type>::is_not_empty, this)); in pop_back()
54 bounded_buffer(const bounded_buffer&); // Disabled copy constructor
55 bounded_buffer& operator = (const bounded_buffer&); // Disabled assign operator
259 bounded_buffer<int> bb_int(QUEUE_SIZE); in main()
275 bounded_buffer<std::string> bb_string(QUEUE_SIZE); in main()
/third_party/boost/libs/circular_buffer/test/
Dbounded_buffer_comparison.cpp26 class bounded_buffer { class
34 explicit bounded_buffer(size_type capacity) : m_unread(0), m_container(capacity) {} in bounded_buffer() function in bounded_buffer
38 m_not_full.wait(lock, boost::bind(&bounded_buffer<value_type>::is_not_full, this)); in push_front()
47 m_not_empty.wait(lock, boost::bind(&bounded_buffer<value_type>::is_not_empty, this)); in pop_back()
54 bounded_buffer(const bounded_buffer&); // Disabled copy constructor
55 bounded_buffer& operator = (const bounded_buffer&); // Disabled assign operator
259 bounded_buffer<int> bb_int(QUEUE_SIZE); in main()
275 bounded_buffer<std::string> bb_string(QUEUE_SIZE); in main()
/third_party/boost/libs/thread/tutorial/
Dbounded_buffer.cpp13 class bounded_buffer : private boost::noncopyable class
17 bounded_buffer(int n) : begin(0), end(0), buffered(0), circular_buf(n) { } in bounded_buffer() function in bounded_buffer
43 bounded_buffer buf(2);
/third_party/boost/libs/thread/example/
Dcondition.cpp14 class bounded_buffer : private boost::noncopyable class
19 bounded_buffer(int n) : boost::noncopyable(), begin(0), end(0), buffered(0), circular_buf(n) { } in bounded_buffer() function in bounded_buffer
49 bounded_buffer buf(2);
/third_party/boost/libs/circular_buffer/doc/
Dcircular_buffer.qbk406 The bounded_buffer relies on [@boost:/doc/html/thread.html Boost.Thread]