The Gaudi Framework  v30r3 (a5ef0a68)
IThreadPoolSvc.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_ITHREADPOOLSVC_H
2 #define GAUDIKERNEL_ITHREADPOOLSVC_H
3 
6 #include <vector>
7 
8 //-----------------------------------------------------------------------------
9 
21 //-----------------------------------------------------------------------------
22 
23 class GAUDI_API IThreadPoolSvc : virtual public IInterface
24 {
25 
26 public:
29 
31  virtual StatusCode initPool( const int& poolSize ) = 0;
32 
34  virtual StatusCode terminatePool() = 0;
35 
37  virtual int poolSize() const = 0;
38 };
39 
40 #endif
Abstract interface for a service that manages a thread pool.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:13
Definition of the basic interface.
Definition: IInterface.h:277
#define GAUDI_API
Definition: Kernel.h:104