The Gaudi Framework
v33r1 (b1225454)
IThreadPoolSvc.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#ifndef GAUDIKERNEL_ITHREADPOOLSVC_H
12
#define GAUDIKERNEL_ITHREADPOOLSVC_H
13
14
#include "
GaudiKernel/IInterface.h
"
15
#include "
GaudiKernel/IThreadInitTool.h
"
16
#include <vector>
17
18
//-----------------------------------------------------------------------------
19
31
//-----------------------------------------------------------------------------
32
33
class
GAUDI_API
IThreadPoolSvc
:
virtual
public
IInterface
{
34
35
public
:
37
DeclareInterfaceID
(
IThreadPoolSvc
, 1, 0 );
38
40
virtual
StatusCode
initPool(
const
int
& poolSize ) = 0;
41
43
virtual
StatusCode
terminatePool() = 0;
44
46
virtual
int
poolSize()
const
= 0;
47
51
virtual
void
initThisThread() = 0;
52
};
53
54
#endif
IThreadPoolSvc
Abstract interface for a service that manages a thread pool.
Definition:
IThreadPoolSvc.h:33
StatusCode
This class is used for returning status codes from appropriate routines.
Definition:
StatusCode.h:61
IInterface
Definition of the basic interface.
Definition:
IInterface.h:254
DeclareInterfaceID
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition:
IInterface.h:23
IThreadInitTool.h
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:81
IInterface.h
GaudiKernel
GaudiKernel
IThreadPoolSvc.h
Generated on Mon Mar 23 2020 15:31:02 for The Gaudi Framework by
1.8.15