Go to the documentation of this file.
36 #if defined (G4MULTITHREADED)
37 #if ( defined(__MACH__) && defined(__clang__) && defined(__x86_64__) ) || \
38 ( defined(__MACH__) && defined(__GNUC__) && __GNUC__>=4 && __GNUC_MINOR__>=7 )
39 # define G4ThreadLocalStatic static __thread
40 # define G4ThreadLocal __thread
41 #elif defined(__linux__) || defined(_AIX)
42 # define G4ThreadLocalStatic static __thread
43 # define G4ThreadLocal __thread
45 # define G4ThreadLocalStatic static __declspec(thread)
46 # define G4ThreadLocal __declspec(thread)
48 # error "No Thread Local Storage (TLS) technology supported for this platform. Use sequential build !"
51 # define G4ThreadLocalStatic static
52 # define G4ThreadLocal