Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-01-26 04:09:16

0001 #ifndef FWCore_Utilites_thread_safe_macros_h
0002 #define FWCore_Utilites_thread_safe_macros_h
0003 #if !defined __CLING__ && !defined __INTEL_COMPILER && !defined __NVCC__
0004 #define CMS_THREAD_SAFE [[cms::thread_safe]]
0005 #define CMS_SA_ALLOW [[cms::sa_allow]]
0006 #define CMS_THREAD_GUARD(_var_) [[cms::thread_guard(#_var_)]]
0007 #else
0008 #define CMS_THREAD_SAFE
0009 #define CMS_SA_ALLOW
0010 #define CMS_THREAD_GUARD(_var_)
0011 #endif
0012 #endif