empty()
, size()
, and top()
are intentionally not provided. Calling them would not make sense in a concurrent setting.
T | Contained element type. |
Definition at line 58 of file queue.h.
__gnu_parallel::RestrictedBoundedConcurrentQueue< T >::RestrictedBoundedConcurrentQueue | ( | sequence_index_t | max_size | ) | [inline] |
__gnu_parallel::RestrictedBoundedConcurrentQueue< T >::~RestrictedBoundedConcurrentQueue | ( | ) | [inline] |
bool __gnu_parallel::RestrictedBoundedConcurrentQueue< T >::pop_back | ( | T & | t | ) | [inline] |
Pops one element from the queue at the front end. Must not be called concurrently with pop_front().
bool __gnu_parallel::RestrictedBoundedConcurrentQueue< T >::pop_front | ( | T & | t | ) | [inline] |
Pops one element from the queue at the front end. Must not be called concurrently with pop_front().
void __gnu_parallel::RestrictedBoundedConcurrentQueue< T >::push_front | ( | const T & | t | ) | [inline] |
Pushes one element into the queue at the front end. Must not be called concurrently with pop_front().