Commit 86c62619 authored by Johannes Elmsheuser's avatar Johannes Elmsheuser
Browse files

Merge branch 'recalgs' into 'master'

RecAlgs: enable thread-checker and fix warnings

See merge request atlas/athena!53782
parents 6654a44a 5ecb4ffe
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
# Declare the package name:
atlas_subdir( RecAlgs )
......@@ -11,4 +11,4 @@ atlas_add_component( RecAlgs
src/*.cxx
src/components/*.cxx
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} AthenaBaseComps xAODEventInfo GaudiKernel RecEvent )
LINK_LIBRARIES ${ROOT_LIBRARIES} AthenaBaseComps CxxUtils xAODEventInfo GaudiKernel RecEvent )
/*
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
*/
#include "AppStopAlg.h"
#include "CxxUtils/checker_macros.h"
#include "GaudiKernel/IEventProcessor.h"
#include "csignal"
namespace
{
volatile std::sig_atomic_t gSignalStatus=0;
volatile std::sig_atomic_t gSignalStatus ATLAS_THREAD_SAFE = 0;
}
......
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
*/
#ifndef RECALGS_TIMINGALG_H
......@@ -8,6 +8,7 @@
// Gaudi includes
#include "GaudiKernel/ServiceHandle.h"
#include "AthenaBaseComps/AthAlgorithm.h"
#include "CxxUtils/checker_macros.h"
#include <string>
#include <sys/time.h>
#include <sys/resource.h>
......@@ -21,7 +22,7 @@ from a getrusage call to the vector.
@author Rolf Seuster <seuster AT cern.ch>
*/
class TimingAlg : public AthAlgorithm
class ATLAS_NOT_THREAD_SAFE TimingAlg : public AthAlgorithm
{
public:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment