Sese Framework
2.3.0
A cross-platform framework
|
Non-blocking, thread-safe queue. More...
#include <LinkedQueue.h>
Classes | |
struct | Node |
Node. More... | |
Public Member Functions | |
LinkedQueue () | |
~LinkedQueue () | |
void | push (const T &value) |
bool | pop (T &value) |
bool | empty () |
Private Attributes | |
std::atomic< Node * > | head {nullptr} |
std::atomic< Node * > | tail {nullptr} |
Non-blocking, thread-safe queue.
T | The template type |
|
inline |
|
inline |
References sese::concurrent::LinkedQueue< T >::head.
|
inline |
References sese::concurrent::LinkedQueue< T >::head, and sese::concurrent::LinkedQueue< T >::tail.
Referenced by sese::concurrent::ObjectPool< T >::~ObjectPool().
|
inline |
|
inline |
|
private |
|
private |