Go to the documentation of this file. 1 #ifndef CLHEP_THREAD_LOCAL_H
2 #define CLHEP_THREAD_LOCAL_H
10 #if (defined (G4MULTITHREADED) && defined (G4USE_STD11))
12 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 7)
13 #define CLHEP_THREAD_LOCAL thread_local
15 #if __has_feature(cxx_thread_local)
16 #define CLHEP_THREAD_LOCAL thread_local
18 #define CLHEP_THREAD_LOCAL
21 #define CLHEP_THREAD_LOCAL
25 #define CLHEP_THREAD_LOCAL