GaloisRuntime::WorkList::AbstractWorkList< T, concurrent > Class Template Reference

#include <WorkList.h>

List of all members.

Classes

struct  rethread
 change the concurrency flag More...
struct  retype
 change the type the worklist holds More...

Public Types

typedef T value_type
 T is the value type of the WL.

Public Member Functions

 AbstractWorkList ()
void push (const value_type &val)
 push a value onto the queue
template<typename Iter >
void push (Iter b, Iter e)
 push a range onto the queue
template<typename RangeTy >
void push_initial (RangeTy)
 push initial range onto the queue called with the same b and e on each thread
boost::optional< value_typesteal (AbstractWorkList &victim, bool half, bool pop)
 steal from a similar worklist
boost::optional< value_typepop ()
 pop a value from the queue.

Private Member Functions

 AbstractWorkList (const AbstractWorkList &)
const AbstractWorkListoperator= (const AbstractWorkList &)

template<typename T, bool concurrent>
class GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >


Member Typedef Documentation

template<typename T , bool concurrent>
typedef T GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::value_type

T is the value type of the WL.


Constructor & Destructor Documentation

template<typename T , bool concurrent>
GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::AbstractWorkList ( const AbstractWorkList< T, concurrent > &   )  [private]
template<typename T , bool concurrent>
GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::AbstractWorkList (  )  [inline]

Member Function Documentation

template<typename T , bool concurrent>
const AbstractWorkList& GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::operator= ( const AbstractWorkList< T, concurrent > &   )  [private]
template<typename T , bool concurrent>
boost::optional<value_type> GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::pop (  )  [inline]

pop a value from the queue.

template<typename T , bool concurrent>
template<typename Iter >
void GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::push ( Iter  b,
Iter  e 
) [inline]

push a range onto the queue

template<typename T , bool concurrent>
void GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::push ( const value_type val  )  [inline]

push a value onto the queue

template<typename T , bool concurrent>
template<typename RangeTy >
void GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::push_initial ( RangeTy   )  [inline]

push initial range onto the queue called with the same b and e on each thread

template<typename T , bool concurrent>
boost::optional<value_type> GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::steal ( AbstractWorkList< T, concurrent > &  victim,
bool  half,
bool  pop 
)

steal from a similar worklist


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

Generated on 12 Apr 2013 for Galois by  doxygen 1.6.1