Definition of the basic interface.
Abstract interface for a service that manages a thread pool.
virtual StatusCode initPool(const int &poolSize, const int &maxParallelismExtra)=0
Initializes the thread pool.
virtual int poolSize() const =0
Size of the initialized thread pool.
virtual void initThisThread()=0
Do thread local initialization of current thread.
virtual StatusCode terminatePool()=0
Finalize the thread pool.
DeclareInterfaceID(IThreadPoolSvc, 1, 0)
InterfaceID.
This class is used for returning status codes from appropriate routines.