ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
atomic_int.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file atomic_int.h
1
#ifndef CLHEP_ATOMIC_INT_H
2
#define CLHEP_ATOMIC_INT_H
3
4
// ======================================================================
5
//
6
// Use std::atomic when the compiler declares it uses the C++11 standard
7
//
8
// ======================================================================
9
10
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 7) || __clang__ || WIN32
11
#include <atomic>
12
#define CLHEP_ATOMIC_INT_TYPE std::atomic<int>
13
#else
14
#define CLHEP_ATOMIC_INT_TYPE int
15
#endif
16
17
#endif
geant4
tree
geant4-10.6-release
source
externals
clhep
include
CLHEP
Utility
atomic_int.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:14
using
1.8.2 with
ECCE GitHub integration