Go to the documentation of this file. 1 #ifndef FWCore_Utilites_thread_safe_macros_h
2 #define FWCore_Utilites_thread_safe_macros_h
3 #if !defined __CLING__ && !defined __INTEL_COMPILER && !defined __NVCC__
4 #define CMS_THREAD_SAFE [[cms::thread_safe]]
5 #define CMS_SA_ALLOW [[cms::sa_allow]]
6 #define CMS_THREAD_GUARD(_var_) [[cms::thread_guard(#_var_)]]
8 #define CMS_THREAD_SAFE
10 #define CMS_THREAD_GUARD(_var_)