Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ThreadInitTool.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "ThreadInitTool.h"
6 #include "unistd.h"
7 
8 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
9 
10 ThreadInitTool::ThreadInitTool( const std::string& type, const std::string& name,
11  const IInterface* parent )
12  : base_class(type, name, parent)
13 {
14 }
15 
16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
17 
18 void
20 {
21  ATH_MSG_INFO ("initThread in thread 0x" << std::hex << pthread_self()
22  << " at " << this << std::dec );
23 
24  // Thread Local initializations would go here.
25 
27 }
28 
29 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
30 
31 void
33 {
34  ATH_MSG_INFO ("terminateThread in thread 0x"
35  << std::hex << pthread_self() << std::dec );
36 
38 
39 }
40 
41 
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
ThreadInitTool::ThreadInitTool
ThreadInitTool(const std::string &, const std::string &, const IInterface *)
Definition: ThreadInitTool.cxx:10
ThreadInitTool::terminateThread
virtual void terminateThread() override
Definition: ThreadInitTool.cxx:32
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
ThreadInitTool::initThread
virtual void initThread() override
Definition: ThreadInitTool.cxx:19
ThreadInitTool::m_nInitThreads
std::atomic_uint m_nInitThreads
Definition: ThreadInitTool.h:43
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
ThreadInitTool.h