|
PTLib
Version 2.10.11
|
#include <threadpool.h>
Public Member Functions | |
| QueuedWorkerThread (PThreadPool< Work_T > &pool, PThread::Priority priority=PThread::NormalPriority) | |
| void | AddWork (Work_T *work) |
| void | RemoveWork (Work_T *) |
| unsigned | GetWorkSize () const |
| void | Main () |
| void | Shutdown () |
Public Member Functions inherited from PThreadPool< Work_T >::WorkerThread | |
| WorkerThread (PThreadPool &pool, Priority priority=NormalPriority) | |
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 |
|
protected |
|
inline |
|
inlinevirtual |
Implements PThreadPool< Work_T >::WorkerThread.
|
inline |
|
inlinevirtual |
Implements PThreadPool< Work_T >::WorkerThread.
References PThreadPool< Work_T >::RemoveWork().
|
inlinevirtual |
Implements PThreadPool< Work_T >::WorkerThread.
|
inline |
|
protected |
|
protected |
|
protected |