ATLAS Offline Software
Database
DBLock
src
DBLock.cxx
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration.
3
*/
12
#include "
DBLock/DBLock.h
"
13
14
15
namespace
Athena
{
16
17
19
std::recursive_mutex
DBLock::m_mutex
;
20
21
25
DBLock::DBLock
()
26
: m_lockPtr (std::make_shared<
lock_t
> (m_mutex))
27
{
28
}
29
30
34
DBLock::~DBLock
()
35
{
36
}
37
38
39
}
// namespace Athena
Athena::DBLock::DBLock
DBLock()
Constructor.
Definition:
DBLock.cxx:25
Athena
Some weak symbol referencing magic...
Definition:
AthLegacySequence.h:21
Athena::DBLock::lock_t
std::unique_lock< std::recursive_mutex > lock_t
Shared pointer to underlying lock.
Definition:
DBLock.h:62
Athena::DBLock::~DBLock
~DBLock()
Destructor.
Definition:
DBLock.cxx:34
DBLock.h
Common database lock.
Athena::DBLock::m_mutex
static std::recursive_mutex m_mutex
Global mutex to protect database access.
Definition:
DBLock.h:58
Generated on Sun Dec 22 2024 21:09:16 for ATLAS Offline Software by
1.8.18