|
ATLAS Offline Software
|
Go to the documentation of this file.
45 #ifndef CXXUTILS_CHECKER_MACROS_H
46 #define CXXUTILS_CHECKER_MACROS_H
49 #ifdef ATLAS_GCC_CHECKERS
60 #define ATLAS_CHECK_FILE_THREAD_SAFETY _Pragma ("ATLAS check_thread_safety") \
61 class ATLAS_CHECK_FILE_THREAD_SAFETY_SWALLOW_SEMICOLON
75 #define ATLAS_NO_CHECK_FILE_THREAD_SAFETY _Pragma ("ATLAS no_check_thread_safety") \
76 class ATLAS_CHECK_FILE_THREAD_SAFETY_SWALLOW_SEMICOLON
87 #define ATLAS_CHECK_THREAD_SAFETY [[ATLAS::check_thread_safety]]
112 #define ATLAS_THREAD_SAFE [[ATLAS::thread_safe]]
131 #define ATLAS_NOT_THREAD_SAFE [[ATLAS::not_thread_safe]]
146 #define ATLAS_CTORDTOR_NOT_THREAD_SAFE ATLAS_NOT_THREAD_SAFE
162 #define ATLAS_NOT_REENTRANT [[ATLAS::not_reentrant]]
180 #define ATLAS_NOT_CONST_THREAD_SAFE [[ATLAS::not_const_thread_safe]]
202 #define ATLAS_ARGUMENT_NOT_CONST_THREAD_SAFE [[ATLAS::argument_not_const_thread_safe]]
205 #else // not ATLAS_GCC_CHECKERS
208 #define ATLAS_CHECK_FILE_THREAD_SAFETY class ATLAS_CHECK_FILE_THREAD_SAFETY_SWALLOW_SEMICOLON
209 #define ATLAS_NO_CHECK_FILE_THREAD_SAFETY class ATLAS_CHECK_FILE_THREAD_SAFETY_SWALLOW_SEMICOLON
210 #define ATLAS_CHECK_THREAD_SAFETY
211 #define ATLAS_THREAD_SAFE
212 #define ATLAS_NOT_THREAD_SAFE
213 #define ATLAS_CTORDTOR_NOT_THREAD_SAFE
214 #define ATLAS_NOT_REENTRANT
215 #define ATLAS_NOT_CONST_THREAD_SAFE
216 #define ATLAS_ARGUMENT_NOT_CONST_THREAD_SAFE
219 #endif // not ATLAS_GCC_CHECKERS
222 #endif // not CXXUTILS_CHECKER_MACROS_H