CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
thread_safety_macros.h
Go to the documentation of this file.
1 #ifndef FWCore_Utilites_thread_safe_macros_h
2 #define FWCore_Utilites_thread_safe_macros_h
3 #ifndef __GCCXML__
4 #define CMS_THREAD_SAFE [[cms::thread_safe]]
5 #define CMS_THREAD_GUARD(_var_) [[cms::thread_guard("#_var_")]]
6 #else
7 #define CMS_THREAD_SAFE
8 #define CMS_THREAD_GUARD(_var_)
9 #endif
10 #endif