#include <concurrent_queue.h>
Inheritance diagram for tbb::deprecated::concurrent_queue< T, A >:

| Public Types | |
| typedef concurrent_bounded_queue< T, A >::iterator | iterator | 
| typedef concurrent_bounded_queue< T, A >::const_iterator | const_iterator | 
| Public Member Functions | |
| concurrent_queue (const A &a=A()) | |
| Construct empty queue. | |
| concurrent_queue (const concurrent_queue &src, const A &a=A()) | |
| Copy constructor. | |
| template<typename InputIterator> | |
| concurrent_queue (InputIterator b, InputIterator e, const A &a=A()) | |
| [begin,end) constructor | |
| bool | push_if_not_full (const T &source) | 
| Enqueue an item at tail of queue if queue is not already full. | |
| bool | pop_if_present (T &destination) | 
| Attempt to dequeue an item from head of queue. | |
| iterator | begin () | 
| iterator | end () | 
| const_iterator | begin () const | 
| const_iterator | end () const | 
| Friends | |
| class | internal::concurrent_queue_iterator | 
This is the pre-PPL TBB concurrent queue which support boundedness and blocking semantics. Note that method names agree with the PPL-style concurrent queue. Multiple threads may each push and pop concurrently. Assignment construction is not allowed.
| bool tbb::deprecated::concurrent_queue< T, A >::pop_if_present | ( | T & | destination | ) |  [inline] | 
Attempt to dequeue an item from head of queue.
Does not wait for item to become available. Returns true if successful; false otherwise.
| bool tbb::deprecated::concurrent_queue< T, A >::push_if_not_full | ( | const T & | source | ) |  [inline] | 
Enqueue an item at tail of queue if queue is not already full.
Does not wait for queue to become not full. Returns true if item is pushed; false if queue was already full.