5#ifndef AthenaMonitoringKernel_OHLockedHist_h
6#define AthenaMonitoringKernel_OHLockedHist_h
74 if (m_mutex) m_mutex->lock();
83 if (m_mutex) m_mutex->unlock();
88 void*
operator new(size_t);
113 if (m_mutex) m_mutex->lock();
119 if (m_mutex) m_mutex->unlock();
124 void*
operator new(size_t);
Define macros for attributes used to control the static checker.
Header file for AthHistogramAlgorithm.
oh_lock_histogram_mutex()=default
oh_lock_histogram_mutex(const oh_lock_histogram_mutex &)=delete
static void reset_histogram_mutex()
Reset (disable) histogram mutex.
static void set_histogram_mutex(std::mutex &mutex)
Set mutex to be used in oh_lock_histogram.
~oh_lock_histogram_mutex()=default
oh_lock_histogram_mutex & operator=(const oh_lock_histogram_mutex &)=delete
static std::mutex *m_mutex ATLAS_THREAD_SAFE
H * operator->()
Access to histogram pointer.
~oh_lock_histogram()
Unlock.
oh_lock_histogram(H *h)
Lock.
~oh_scoped_lock_histogram()
Unlock.
oh_scoped_lock_histogram()
Lock.