#include <threadpool.h>
Inheritance diagram for PThreadPool< Work_T >:

Public Types | |
| typedef std::map< Work_T *, InternalWork > | ExternalToInternalWorkMap_T |
| typedef std::map< std::string, GroupInfo > | GroupInfoMap_t |
Public Member Functions | |
| PThreadPool (unsigned maxWorkers=10, unsigned maxWorkUnits=0) | |
| bool | AddWork (Work_T *work, const char *group=NULL) |
| bool | RemoveWork (Work_T *work, bool removeFromWorker=true) |
Public Attributes | |
| ExternalToInternalWorkMap_T | m_externalToInternalWorkMap |
| GroupInfoMap_t | m_groupInfoMap |
Classes | |
| struct | GroupInfo |
| class | InternalWork |
| class | QueuedWorkerThread |
| class | WorkerThread |
| typedef std::map<Work_T *, InternalWork> PThreadPool< Work_T >::ExternalToInternalWorkMap_T |
| typedef std::map<std::string, GroupInfo> PThreadPool< Work_T >::GroupInfoMap_t |
| PThreadPool< Work_T >::PThreadPool | ( | unsigned | maxWorkers = 10, |
|
| unsigned | maxWorkUnits = 0 | |||
| ) | [inline] |
| bool PThreadPool< Work_T >::AddWork | ( | Work_T * | work, | |
| const char * | group = NULL | |||
| ) | [inline] |
| bool PThreadPool< Work_T >::RemoveWork | ( | Work_T * | work, | |
| bool | removeFromWorker = true | |||
| ) | [inline] |
| ExternalToInternalWorkMap_T PThreadPool< Work_T >::m_externalToInternalWorkMap |
| GroupInfoMap_t PThreadPool< Work_T >::m_groupInfoMap |
1.4.7