#include <sockagg.h>
Inheritance diagram for PThreadPoolBase:

Public Member Functions | |
| PThreadPoolBase (unsigned _max=10) | |
| ~PThreadPoolBase () | |
| virtual PThreadPoolWorkerBase * | CreateWorkerThread ()=0 |
| virtual PThreadPoolWorkerBase * | AllocateWorker () |
Protected Types | |
| typedef std::vector< PThreadPoolWorkerBase * > | WorkerList_t |
Protected Member Functions | |
| virtual bool | CheckWorker (PThreadPoolWorkerBase *worker) |
| void | StopWorker (PThreadPoolWorkerBase *worker) |
Protected Attributes | |
| PMutex | listMutex |
| WorkerList_t | workers |
| unsigned | maxWorkerSize |
typedef std::vector<PThreadPoolWorkerBase *> PThreadPoolBase::WorkerList_t [protected] |
| PThreadPoolBase::PThreadPoolBase | ( | unsigned | _max = 10 |
) |
| PThreadPoolBase::~PThreadPoolBase | ( | ) |
| virtual PThreadPoolWorkerBase* PThreadPoolBase::CreateWorkerThread | ( | ) | [pure virtual] |
Implemented in PThreadPool< WorkUnit_T, WorkerThread_T >.
| virtual PThreadPoolWorkerBase* PThreadPoolBase::AllocateWorker | ( | ) | [virtual] |
| virtual bool PThreadPoolBase::CheckWorker | ( | PThreadPoolWorkerBase * | worker | ) | [protected, virtual] |
| void PThreadPoolBase::StopWorker | ( | PThreadPoolWorkerBase * | worker | ) | [protected] |
PMutex PThreadPoolBase::listMutex [protected] |
WorkerList_t PThreadPoolBase::workers [protected] |
unsigned PThreadPoolBase::maxWorkerSize [protected] |
1.5.1