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

bool push (value_type val)
 push a value onto the queue
bool aborted (value_type val)
 push an aborted value onto the queue
std::pair< bool, value_typepop ()
 pop a value from the queue.
bool empty () const
 return if the queue is empty not thread safe*
template<typename iter >
void fill_initial (iter begin, iter end)
 called in sequential mode to seed the worklist

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.


Member Function Documentation

template<typename T , bool concurrent>
bool GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::aborted ( value_type  val  ) 

push an aborted value onto the queue

template<typename T , bool concurrent>
bool GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::empty (  )  const

return if the queue is empty not thread safe*

template<typename T , bool concurrent>
template<typename iter >
void GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::fill_initial ( iter  begin,
iter  end 
) [inline]

called in sequential mode to seed the worklist

template<typename T , bool concurrent>
std::pair<bool, value_type> GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::pop (  ) 

pop a value from the queue.

template<typename T , bool concurrent>
bool GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::push ( value_type  val  ) 

push a value onto the queue


The documentation for this class was generated from the following file:
Generated on Tue Aug 2 11:51:30 2011 for Galois by  doxygen 1.6.3