#include <IlmThreadPool.h>
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 ThreadPool & | globalThreadPool () |
| static void | addGlobalTask (Task *task) |
Protected Attributes | |
| Data * | _data |
Definition at line 69 of file IlmThreadPool.h.
| IlmThread::ThreadPool::ThreadPool | ( | unsigned | numThreads = 0 |
) |
| virtual IlmThread::ThreadPool::~ThreadPool | ( | ) | [virtual] |
| 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 | ) |
Data* IlmThread::ThreadPool::_data [protected] |
Definition at line 118 of file IlmThreadPool.h.
1.5.9