|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "GaudiKernel/ConcurrencyFlags.h"
27 ATH_MSG_WARNING(
"LockDecoration used in MT job. This configuration is likely not thread-safe." );
30 return StatusCode::SUCCESS;
44 if (auxid == SG::null_auxid) {
46 return StatusCode::FAILURE;
51 return StatusCode::SUCCESS;
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
static AuxTypeRegistry & instance()
Return the singleton registry instance.
std::string decorKeyFromKey(const std::string &key)
Extract the decoration part of key.
void lockDecoration(SG::auxid_t auxid)
Explicitly lock a decoration.
Some common helper functions used by decoration handles.
Manage index tracking and synchronization of auxiliary data.
Manage index tracking and synchronization of auxiliary data.
Algorithm to explicitly lock a set of decorations.
size_t auxid_t
Identifier for a particular aux data item.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode initialize() override
Standard Gaudi initialize method.
SG::WriteDecorHandleKeyArray< SG::AuxVectorBase > m_decorations
The decoration to lock.
virtual StatusCode execute(const EventContext &ctx) const override
Execute algorithm.
#define ATH_MSG_WARNING(x)
Handle mappings between names and auxid_t.
#define ATLAS_THREAD_SAFE
Define macros for attributes used to control the static checker.