|
PTLib
Version 2.14.3
|
#include <threadpool.h>


Public Member Functions | |
| QueuedWorkerThread (PThreadPool< Work_T > &pool, PThread::Priority priority=PThread::NormalPriority, const char *threadName=NULL) | |
| ~QueuedWorkerThread () | |
| void | AddWork (Work_T *work) |
| void | RemoveWork (Work_T *) |
| unsigned | GetWorkSize () const |
| void | Main () |
| void | Shutdown () |
Protected Types | |
| typedef std::queue< Work_T * > | Queue |
Protected Attributes | |
| Queue | m_queue |
| PMutex | m_mutex |
| PSemaphore | m_available |
Protected Attributes inherited from PThreadPool< Work_T >::WorkerThread | |
| PThreadPool & | m_pool |
Additional Inherited Members | |
Protected Member Functions inherited from PThreadPool< Work_T >::WorkerThread | |
| WorkerThread (PThreadPool &pool, Priority priority=NormalPriority, const char *threadName=NULL) | |
|
protected |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
protected |
|
protected |
|
protected |