Classes | Public Member Functions | Private Attributes
megatree::UncontentiousQueue< T > Class Template Reference

#include <uncontentious_queue.h>

List of all members.

Classes

struct  Node

Public Member Functions

bool dequeue (T &)
void dequeueBlocking (T &)
void enqueue (const T &)
 UncontentiousQueue ()
 ~UncontentiousQueue ()

Private Attributes

boost::condition grown_condition
Nodehead
boost::mutex head_mutex
Nodetail
boost::mutex tail_mutex

Detailed Description

template<class T>
class megatree::UncontentiousQueue< T >

Definition at line 14 of file uncontentious_queue.h.


Constructor & Destructor Documentation

template<class T >
megatree::UncontentiousQueue< T >::UncontentiousQueue ( )

Definition at line 38 of file uncontentious_queue.h.

template<class T >
megatree::UncontentiousQueue< T >::~UncontentiousQueue ( )

Definition at line 46 of file uncontentious_queue.h.


Member Function Documentation

template<class T >
bool megatree::UncontentiousQueue< T >::dequeue ( T &  item)

Definition at line 71 of file uncontentious_queue.h.

template<class T >
void megatree::UncontentiousQueue< T >::dequeueBlocking ( T &  item)

Definition at line 84 of file uncontentious_queue.h.

template<class T >
void megatree::UncontentiousQueue< T >::enqueue ( const T &  item)

Definition at line 58 of file uncontentious_queue.h.


Member Data Documentation

template<class T >
boost::condition megatree::UncontentiousQueue< T >::grown_condition [private]

Definition at line 32 of file uncontentious_queue.h.

template<class T >
Node* megatree::UncontentiousQueue< T >::head [private]

Definition at line 33 of file uncontentious_queue.h.

template<class T >
boost::mutex megatree::UncontentiousQueue< T >::head_mutex [private]

Definition at line 31 of file uncontentious_queue.h.

template<class T >
Node* megatree::UncontentiousQueue< T >::tail [private]

Definition at line 34 of file uncontentious_queue.h.

template<class T >
boost::mutex megatree::UncontentiousQueue< T >::tail_mutex [private]

Definition at line 31 of file uncontentious_queue.h.


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


megatree_core
Author(s): Stuart Glaser
autogenerated on Thu Nov 28 2013 11:30:23