Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v28r2p1 (f1a77ff4)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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:
27 
30 
32  virtual StatusCode initPool(const int& poolSize) = 0;
33 
35  virtual StatusCode terminatePool() = 0;
36 
38  virtual int poolSize() const = 0;
39 
40 };
41 
42 #endif
Abstract interface for a service that manages a thread pool.
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:14
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
Definition of the basic interface.
Definition: IInterface.h:234
#define GAUDI_API
Definition: Kernel.h:107