anonymous_namespace{ThreadPool_pthread.cpp}::ThreadPool_pthread Class Reference

Inheritance diagram for anonymous_namespace{ThreadPool_pthread.cpp}::ThreadPool_pthread:
Galois::Runtime::ThreadPool

List of all members.

Public Member Functions

 ThreadPool_pthread ()
virtual ~ThreadPool_pthread ()
virtual void run (RunCommand *begin, RunCommand *end, unsigned num)

Private Member Functions

void initThread ()
void cascade (int tid)
void doWork (unsigned tid)
void prefixThreadWork (unsigned tid)
void suffixThreadWork (unsigned tid)
void launch ()

Static Private Member Functions

static void * slaunch (void *V)

Private Attributes

pthread_t * threads
Semaphorestarts
ThinBarrier started
volatile bool shutdown
volatile unsigned starting
volatile RunCommand * workBegin
volatile RunCommand * workEnd

Constructor & Destructor Documentation

anonymous_namespace{ThreadPool_pthread.cpp}::ThreadPool_pthread::ThreadPool_pthread (  )  [inline]
virtual anonymous_namespace{ThreadPool_pthread.cpp}::ThreadPool_pthread::~ThreadPool_pthread (  )  [inline, virtual]

Member Function Documentation

void anonymous_namespace{ThreadPool_pthread.cpp}::ThreadPool_pthread::cascade ( int  tid  )  [inline, private]
void anonymous_namespace{ThreadPool_pthread.cpp}::ThreadPool_pthread::doWork ( unsigned  tid  )  [inline, private]
void anonymous_namespace{ThreadPool_pthread.cpp}::ThreadPool_pthread::initThread (  )  [inline, private]
void anonymous_namespace{ThreadPool_pthread.cpp}::ThreadPool_pthread::launch (  )  [inline, private]
void anonymous_namespace{ThreadPool_pthread.cpp}::ThreadPool_pthread::prefixThreadWork ( unsigned  tid  )  [inline, private]
virtual void anonymous_namespace{ThreadPool_pthread.cpp}::ThreadPool_pthread::run ( RunCommand *  begin,
RunCommand *  end,
unsigned  num 
) [inline, virtual]
static void* anonymous_namespace{ThreadPool_pthread.cpp}::ThreadPool_pthread::slaunch ( void *  V  )  [inline, static, private]
void anonymous_namespace{ThreadPool_pthread.cpp}::ThreadPool_pthread::suffixThreadWork ( unsigned  tid  )  [inline, private]

Member Data Documentation

volatile bool anonymous_namespace{ThreadPool_pthread.cpp}::ThreadPool_pthread::shutdown [private]
ThinBarrier anonymous_namespace{ThreadPool_pthread.cpp}::ThreadPool_pthread::started [private]
volatile unsigned anonymous_namespace{ThreadPool_pthread.cpp}::ThreadPool_pthread::starting [private]
Semaphore* anonymous_namespace{ThreadPool_pthread.cpp}::ThreadPool_pthread::starts [private]
pthread_t* anonymous_namespace{ThreadPool_pthread.cpp}::ThreadPool_pthread::threads [private]
volatile RunCommand* anonymous_namespace{ThreadPool_pthread.cpp}::ThreadPool_pthread::workBegin [private]
volatile RunCommand* anonymous_namespace{ThreadPool_pthread.cpp}::ThreadPool_pthread::workEnd [private]

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

Generated on 2 Nov 2013 for Galois by  doxygen 1.6.1