Loading...
Searching...
No Matches
Go to the documentation of this file.
54#define VMC_MULTITHREADED 1
56# if defined(VMC_MULTITHREADED)
57# if(defined(__MACH__) && defined(__clang__)) || \
58 (defined(__linux__) && defined(__clang__))
59# define TMCThreadLocalStatic static thread_local
60# define TMCThreadLocal thread_local
61# elif((defined(__linux__) || defined(__MACH__)) && \
62 !defined(__INTEL_COMPILER) && defined(__GNUC__) && \
63 (__GNUC__ >= 4 && __GNUC_MINOR__ < 9))
64# define TMCThreadLocalStatic static __thread
65# define TMCThreadLocal thread_local
66# elif((defined(__linux__) || defined(__MACH__)) && \
67 !defined(__INTEL_COMPILER) && defined(__GNUC__) && \
68 (__GNUC__ >= 4 && __GNUC_MINOR__ >= 9) || \
70# define TMCThreadLocalStatic static thread_local
71# define TMCThreadLocal thread_local
72# elif((defined(__linux__) || defined(__MACH__)) && \
73 defined(__INTEL_COMPILER))
74# if __INTEL_COMPILER >= 1500
75# define TMCThreadLocalStatic static thread_local
76# define TMCThreadLocal thread_local
78# define TMCThreadLocalStatic static __thread
79# define TMCThreadLocal __thread
82# define TMCThreadLocalStatic static thread_local
83# define TMCThreadLocal thread_local
85# define TMCThreadLocalStatic static thread_local
86# define TMCThreadLocal thread_local
89 "No Thread Local Storage (TLS) technology supported for this platform. Use sequential build !"
92# define TMCThreadLocalStatic static
93# define TMCThreadLocal