41 const volatile void*
addr,
46 void do_nothing(...) {}
50 #define FOLLY_SANITIZE_THREAD_CALL_HOOK(name, ...) do_nothing(__VA_ARGS__) 52 #define FOLLY_SANITIZE_THREAD_CALL_HOOK(name, ...) name(__VA_ARGS__) 59 void const volatile*
const addr,
68 void const volatile*
const addr,
77 void const volatile*
const addr,
86 void const volatile*
const addr,
97 void const volatile*
const addr,
108 void const volatile*
const addr,
119 const volatile void*
addr,
void annotate_rwlock_released_impl(void const volatile *const addr, annotate_rwlock_level const w, char const *const f, int const l)
#define FOLLY_SANITIZE_THREAD_CALL_HOOK(name,...)
FOLLY_ATTR_WEAK void AnnotateRWLockCreateStatic(const char *f, int l, const volatile void *addr)
void annotate_rwlock_acquired_impl(void const volatile *const addr, annotate_rwlock_level const w, char const *const f, int const l)
constexpr bool kIsSanitizeThread
void annotate_benign_race_sized_impl(const volatile void *addr, long size, const char *desc, const char *f, int l)
FOLLY_ATTR_WEAK void AnnotateRWLockReleased(const char *f, int l, const volatile void *addr, long w)
void annotate_rwlock_destroy_impl(void const volatile *const addr, char const *const f, int const l)
—— Concurrent Priority Queue Implementation ——
void annotate_rwlock_create_impl(void const volatile *const addr, char const *const f, int const l)
FOLLY_ATTR_WEAK void AnnotateRWLockAcquired(const char *f, int l, const volatile void *addr, long w)
constexpr auto size(C const &c) -> decltype(c.size())
FOLLY_ATTR_WEAK void AnnotateRWLockCreate(const char *f, int l, const volatile void *addr)
void annotate_rwlock_try_acquired_impl(void const volatile *const addr, annotate_rwlock_level const w, bool const result, char const *const f, int const l)
void annotate_rwlock_create_static_impl(void const volatile *const addr, char const *const f, int const l)
static FOLLY_ALWAYS_INLINE void annotate_rwlock_acquired(void const volatile *const addr, annotate_rwlock_level const w, char const *const f, int const l)
FOLLY_ATTR_WEAK void AnnotateRWLockDestroy(const char *f, int l, const volatile void *addr)
ThreadPoolListHook * addr
FOLLY_ATTR_WEAK void AnnotateBenignRaceSized(const char *f, int l, const volatile void *addr, long size, const char *desc)