AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "MPSCQueue.h"
Classes | |
struct | Node |
Public Member Functions | |
MPSCQueueNonIntrusive () | |
~MPSCQueueNonIntrusive () | |
void | Enqueue (T *input) |
bool | Dequeue (T *&result) |
Private Member Functions | |
MPSCQueueNonIntrusive (MPSCQueueNonIntrusive const &)=delete | |
MPSCQueueNonIntrusive & | operator= (MPSCQueueNonIntrusive const &)=delete |
Private Attributes | |
std::atomic< Node * > | _head |
std::atomic< Node * > | _tail |
|
inline |
References Acore::Impl::MPSCQueueNonIntrusive< T >::_head, and Acore::Impl::MPSCQueueNonIntrusive< T >::Node::Next.
|
inline |
References Acore::Impl::MPSCQueueNonIntrusive< T >::_head, and Acore::Impl::MPSCQueueNonIntrusive< T >::Dequeue().
|
privatedelete |
|
inline |
References Acore::Impl::MPSCQueueNonIntrusive< T >::_tail, Acore::Impl::MPSCQueueNonIntrusive< T >::Node::Data, and Acore::Impl::MPSCQueueNonIntrusive< T >::Node::Next.
Referenced by Acore::Impl::MPSCQueueNonIntrusive< T >::~MPSCQueueNonIntrusive().
|
inline |
References Acore::Impl::MPSCQueueNonIntrusive< T >::_head, and Acore::Impl::MPSCQueueNonIntrusive< T >::Node::Next.
|
privatedelete |
|
private |
|
private |
Referenced by Acore::Impl::MPSCQueueNonIntrusive< T >::Dequeue().