ATLAS Offline Software
Loading...
Searching...
No Matches
IDC_WriteHandleBase.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3*/
4
5
6#ifndef IDC_WRITEHANDLEBASE_H
7#define IDC_WRITEHANDLEBASE_H
8#include <atomic>
9
10namespace EventContainers {
11
12
14protected:
15 std::atomic<const void*>* m_atomic;
16
18 { }
19public:
20
21 void LockOn(std::atomic<const void*>* in) noexcept {
22 m_atomic = in;
23 }
24 void DropLock() noexcept;
25 void ReleaseLock();
26
28};
29
30}
31#endif
32
void LockOn(std::atomic< const void * > *in) noexcept
std::atomic< const void * > * m_atomic