Go to the documentation of this file.
39 #if defined (G4LIB_BUILD_MULTITHREAD)
40 #if defined(__MACH__) && defined(__clang__) && defined(MAC_OS_X_VERSION_10_7) && defined(__x86_64__)
41 # define G4TLOCAL static __thread
42 #elif defined(__linux__) || defined(_AIX)
43 # define G4TLOCAL static __thread
45 # define G4TLOCAL static __declspec(thread)
47 # error "No Thread Local Storage (TLS) technology supported for this platform. Use sequential build !"
50 # define G4TLOCAL static