IlmThread::ThreadPool Class Reference

#include <IlmThreadPool.h>

List of all members.

Public Member Functions

 ThreadPool (unsigned numThreads=0)
virtual ~ThreadPool ()
int numThreads () const
void setNumThreads (int count)
void addTask (Task *task)

Static Public Member Functions

static ThreadPoolglobalThreadPool ()
static void addGlobalTask (Task *task)

Protected Attributes

Data * _data


Detailed Description

Definition at line 69 of file IlmThreadPool.h.


Constructor & Destructor Documentation

IlmThread::ThreadPool::ThreadPool ( unsigned  numThreads = 0  ) 

virtual IlmThread::ThreadPool::~ThreadPool (  )  [virtual]


Member Function Documentation

static void IlmThread::ThreadPool::addGlobalTask ( Task task  )  [static]

void IlmThread::ThreadPool::addTask ( Task task  ) 

static ThreadPool& IlmThread::ThreadPool::globalThreadPool (  )  [static]

int IlmThread::ThreadPool::numThreads (  )  const

void IlmThread::ThreadPool::setNumThreads ( int  count  ) 


Member Data Documentation

Data* IlmThread::ThreadPool::_data [protected]

Definition at line 118 of file IlmThreadPool.h.


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

Generated on Thu Jan 31 00:34:40 2013 for HDK by  doxygen 1.5.9