|
| CThreadPool (unsigned size) |
|
bool | Enqueue (CWorker *worker) |
|
unsigned | GetMaxSize () const |
|
void | SetMaxSize (unsigned size) |
|
void | SetKeepAlive (unsigned millisec) |
|
unsigned | Size () const |
|
unsigned | QueueSize () const |
|
bool | IsQueueEmpty () const |
|
bool | waitEmpty (unsigned millisec) |
|
bool | waitEmpty () |
|
void | Suspend () |
|
void | Resume () |
|
bool | IsSuspended () const |
|
void | Reset () |
|
void | Stop () |
|
void | Start () |
|
bool | IsStopped () const |
|
|
unsigned | m_size |
|
unsigned | m_keepAlive |
|
unsigned | m_poolSize |
|
unsigned | m_waitingCount |
|
volatile bool | m_stopped |
|
volatile bool | m_suspended |
|
volatile bool | m_empty |
|
std::queue< CWorker * > | m_queue |
|
std::set< CWorkerThread * > | m_pool |
|
CMutex | m_mutex |
|
CCondition< volatile bool > | m_condition |
|
CEvent | m_queueFill |
|
CEvent | m_queueEmpty |
|
Definition at line 39 of file threadpool.h.
The documentation for this class was generated from the following files:
- /home/jlb/src/janbar/PVR/cppmythlib/cppmyth/src/private/os/threads/threadpool.h
- /home/jlb/src/janbar/PVR/cppmythlib/cppmyth/src/private/os/threads/threadpool.cpp