this class creates an abstraction for doing work in multiple threads
this class creates an abstraction for doing work in multiple threads. VFunctors may be added the work queue. The waiting threads of the ThreadPool do the work specified by each VFunctor in the work queue. When the work is done, the thread returns to the thread pool, doing more work if there are any jobs in the work queue or, waiting until there is more work to be done if there are not.
virtual ~VThreadPool()
void addFunctor(const VFunctor& functor) throw(VThreadInitException&)
void shutdown(bool finish = true)
const ListOfThreads& getWorkerThreads()
static void* workerProc(void* arg)
void init() throw(VThreadInitException&)
generated by doc++