Go to the documentation of this file. 19 #ifndef ABSL_BASE_INTERNAL_TSAN_MUTEX_INTERFACE_H_ 20 #define ABSL_BASE_INTERNAL_TSAN_MUTEX_INTERFACE_H_ 27 #ifdef ABSL_INTERNAL_HAVE_TSAN_INTERFACE 28 #error "ABSL_INTERNAL_HAVE_TSAN_INTERFACE cannot be directly set." 31 #if defined(THREAD_SANITIZER) && defined(__has_include) 32 #if __has_include(<sanitizer/tsan_interface.h>) 33 #define ABSL_INTERNAL_HAVE_TSAN_INTERFACE 1 37 #ifdef ABSL_INTERNAL_HAVE_TSAN_INTERFACE 38 #include <sanitizer/tsan_interface.h> 40 #define ABSL_TSAN_MUTEX_CREATE __tsan_mutex_create 41 #define ABSL_TSAN_MUTEX_DESTROY __tsan_mutex_destroy 42 #define ABSL_TSAN_MUTEX_PRE_LOCK __tsan_mutex_pre_lock 43 #define ABSL_TSAN_MUTEX_POST_LOCK __tsan_mutex_post_lock 44 #define ABSL_TSAN_MUTEX_PRE_UNLOCK __tsan_mutex_pre_unlock 45 #define ABSL_TSAN_MUTEX_POST_UNLOCK __tsan_mutex_post_unlock 46 #define ABSL_TSAN_MUTEX_PRE_SIGNAL __tsan_mutex_pre_signal 47 #define ABSL_TSAN_MUTEX_POST_SIGNAL __tsan_mutex_post_signal 48 #define ABSL_TSAN_MUTEX_PRE_DIVERT __tsan_mutex_pre_divert 49 #define ABSL_TSAN_MUTEX_POST_DIVERT __tsan_mutex_post_divert 53 #define ABSL_TSAN_MUTEX_CREATE(...) 54 #define ABSL_TSAN_MUTEX_DESTROY(...) 55 #define ABSL_TSAN_MUTEX_PRE_LOCK(...) 56 #define ABSL_TSAN_MUTEX_POST_LOCK(...) 57 #define ABSL_TSAN_MUTEX_PRE_UNLOCK(...) 58 #define ABSL_TSAN_MUTEX_POST_UNLOCK(...) 59 #define ABSL_TSAN_MUTEX_PRE_SIGNAL(...) 60 #define ABSL_TSAN_MUTEX_POST_SIGNAL(...) 61 #define ABSL_TSAN_MUTEX_PRE_DIVERT(...) 62 #define ABSL_TSAN_MUTEX_POST_DIVERT(...) 66 #endif // ABSL_BASE_INTERNAL_TSAN_MUTEX_INTERFACE_H_
abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:19:58