|
libstdc++
|

Public Member Functions | |
| bool | pop_back (T &t) |
| bool | pop_front (T &t) |
| void | push_front (const T &t) |
| RestrictedBoundedConcurrentQueue (sequence_index_t max_size) | |
| ~RestrictedBoundedConcurrentQueue () | |
Double-ended queue of bounded size, allowing lock-free atomic access. push_front() and pop_front() must not be called concurrently to each other, while pop_back() can be called concurrently at all times. empty(), size(), and top() are intentionally not provided. Calling them would not make sense in a concurrent setting.
| T | Contained element type. |
|
inline |
|
inline |
|
inline |
Pops one element from the queue at the front end. Must not be called concurrently with pop_front().
|
inline |
Pops one element from the queue at the front end. Must not be called concurrently with pop_front().
|
inline |
Pushes one element into the queue at the front end. Must not be called concurrently with pop_front().