SPH
|
#include <ConcurrentQueue.h>
Public Member Functions | |
ConcurrentQueue ()=default | |
template<typename T > | |
void | push (T &&value) |
Pushes the element to the back of the queue. This is a thread-safe operation. More... | |
Optional< Type > | pop () |
bool | empty () |
Checks whether the queue is empty. This is a thread-safe operation. More... | |
Concurrent queue Pavel Sevecek 2017 sevec ek@s irrah .tro ja.mf f.cu ni.cz
Definition at line 16 of file ConcurrentQueue.h.
|
default |
|
inline |
Checks whether the queue is empty. This is a thread-safe operation.
Definition at line 45 of file ConcurrentQueue.h.
|
inline |
Removes and returns element from the front of the queue. If the queue is empty, returns NOTHING. This is a thread-safe operation.
Definition at line 34 of file ConcurrentQueue.h.
|
inline |
Pushes the element to the back of the queue. This is a thread-safe operation.
Definition at line 27 of file ConcurrentQueue.h.