vol::ThreadPool Class Reference

List of all members.

Detailed Description

Author:
lakshman
Version:
Id
vol_ThreadPool.h,v 1.2 2011/06/30 06:39:09 lakshman Exp


Public Member Functions

 ThreadPool (int nWorkers)
 ~ThreadPool ()
void submit (Job *job)
 Runs the Job's performInThread() in thread pool and the Job's performInMain() function in main thread after the threadpool job is complete.

Classes

class  Job


Constructor & Destructor Documentation

vol::ThreadPool::ThreadPool ( int  nWorkers  ) 

vol::ThreadPool::~ThreadPool (  ) 


Member Function Documentation

void vol::ThreadPool::submit ( Job job  ) 

Runs the Job's performInThread() in thread pool and the Job's performInMain() function in main thread after the threadpool job is complete.

Finally, the passed-in job is deleted (i.e. memory freed).


Generated on Fri May 4 13:40:23 2012 for WDSS-IIw2algs by  doxygen 1.4.7