#include <MPSCQueue.h>
32 Node* front =
_head.load(std::memory_order_relaxed);
33 front->Next.store(
nullptr, std::memory_order_relaxed);
std::atomic< Node * > _tail
Definition: MPSCQueue.h:77
std::atomic< Node * > _head
Definition: MPSCQueue.h:76
42 Node* front =
_head.load(std::memory_order_relaxed);
bool Dequeue(T *&result)
Definition: MPSCQueue.h:53
std::atomic< Node * > _head
Definition: MPSCQueue.h:76
55 Node* tail =
_tail.load(std::memory_order_relaxed);
56 Node*
next = tail->Next.load(std::memory_order_acquire);
61 _tail.store(next, std::memory_order_release);
int next(int i, int n)
Definition: RecastContour.cpp:469
std::atomic< Node * > _tail
Definition: MPSCQueue.h:77
48 Node* node =
new Node(
input);
49 Node* prevHead =
_head.exchange(node, std::memory_order_acq_rel);
50 prevHead->Next.store(node, std::memory_order_release);
std::atomic< Node * > _head
Definition: MPSCQueue.h:76
The documentation for this class was generated from the following file: