eris 1.4.0
A WorldForge client library.
Eris::WaitFreeQueue< T > Class Template Reference

A queue optimized for insertion from background threads and consumption from one main thread. More...

#include <WaitFreeQueue.h>

Classes

struct  node
 

Public Member Functions

void push (const T &data)
 
nodepop_all (void)
 
nodepop_all_reverse (void)
 

Detailed Description

template<typename T>
class Eris::WaitFreeQueue< T >

A queue optimized for insertion from background threads and consumption from one main thread.

Definition at line 39 of file WaitFreeQueue.h.

Constructor & Destructor Documentation

◆ WaitFreeQueue()

template<typename T >
Eris::WaitFreeQueue< T >::WaitFreeQueue ( )
inline

Definition at line 48 of file WaitFreeQueue.h.

Member Function Documentation

◆ pop_all()

template<typename T >
node * Eris::WaitFreeQueue< T >::pop_all ( void  )
inline

Definition at line 64 of file WaitFreeQueue.h.

◆ pop_all_reverse()

template<typename T >
node * Eris::WaitFreeQueue< T >::pop_all_reverse ( void  )
inline

Definition at line 76 of file WaitFreeQueue.h.

◆ push()

template<typename T >
void Eris::WaitFreeQueue< T >::push ( const T &  data)
inline

Definition at line 53 of file WaitFreeQueue.h.


The documentation for this class was generated from the following files: