#include <ThreadPool.h>

Public Member Functions | |
| WorkerMainLoop (WorkerState *st, boost::condition &c1, boost::mutex &m1, boost::condition &c2, boost::mutex &m2) | |
| virtual | ~WorkerMainLoop () | 
| void | operator() () | 
Protected Attributes | |
| condition & | cond1 | 
| mutex & | mtx1 | 
| condition & | cond2 | 
| mutex & | mtx2 | 
| WorkerState * | state | 
Definition at line 46 of file ThreadPool.h.
| WorkerMainLoop::WorkerMainLoop | ( | WorkerState * | st, | |
| boost::condition & | c1, | |||
| boost::mutex & | m1, | |||
| boost::condition & | c2, | |||
| boost::mutex & | m2 | |||
| ) | 
| WorkerMainLoop::~WorkerMainLoop | ( | ) |  [virtual] | 
        
Definition at line 34 of file ThreadPool.cpp.
| void WorkerMainLoop::operator() | ( | ) | 
Definition at line 17 of file ThreadPool.cpp.
References cond1, cond2, WorkerState::job, mtx1, mtx2, state, and WorkerState::toBeFinished.
condition& WorkerMainLoop::cond1 [protected]           | 
        
mutex& WorkerMainLoop::mtx1 [protected]           | 
        
condition& WorkerMainLoop::cond2 [protected]           | 
        
mutex& WorkerMainLoop::mtx2 [protected]           | 
        
WorkerState* WorkerMainLoop::state [protected]           | 
        
 1.5.5