Namespaces | Defines | Functions
thread_annotations.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  thread_safety_analysis

Defines

#define ACQUIRED_AFTER(...)   THREAD_ANNOTATION_ATTRIBUTE__(acquired_after(__VA_ARGS__))
#define ACQUIRED_BEFORE(...)   THREAD_ANNOTATION_ATTRIBUTE__(acquired_before(__VA_ARGS__))
#define ASSERT_EXCLUSIVE_LOCK(...)   THREAD_ANNOTATION_ATTRIBUTE__(assert_exclusive_lock(__VA_ARGS__))
#define ASSERT_SHARED_LOCK(...)   THREAD_ANNOTATION_ATTRIBUTE__(assert_shared_lock(__VA_ARGS__))
#define EXCLUSIVE_LOCK_FUNCTION(...)   THREAD_ANNOTATION_ATTRIBUTE__(exclusive_lock_function(__VA_ARGS__))
#define EXCLUSIVE_LOCKS_REQUIRED(...)   THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))
#define EXCLUSIVE_TRYLOCK_FUNCTION(...)   THREAD_ANNOTATION_ATTRIBUTE__(exclusive_trylock_function(__VA_ARGS__))
#define GUARDED_BY(x)   THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
#define GUARDED_BY_FIXME(x)
#define LOCK_RETURNED(x)   THREAD_ANNOTATION_ATTRIBUTE__(lock_returned(x))
#define LOCKABLE   THREAD_ANNOTATION_ATTRIBUTE__(lockable)
#define LOCKS_EXCLUDED(...)   THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
#define NO_THREAD_SAFETY_ANALYSIS   THREAD_ANNOTATION_ATTRIBUTE__(no_thread_safety_analysis)
#define NO_THREAD_SAFETY_ANALYSIS_FIXME   NO_THREAD_SAFETY_ANALYSIS
#define PT_GUARDED_BY(x)   THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded_by(x))
#define SCOPED_LOCKABLE   THREAD_ANNOTATION_ATTRIBUTE__(scoped_lockable)
#define SHARED_LOCK_FUNCTION(...)   THREAD_ANNOTATION_ATTRIBUTE__(shared_lock_function(__VA_ARGS__))
#define SHARED_LOCKS_REQUIRED(...)   THREAD_ANNOTATION_ATTRIBUTE__(shared_locks_required(__VA_ARGS__))
#define SHARED_TRYLOCK_FUNCTION(...)   THREAD_ANNOTATION_ATTRIBUTE__(shared_trylock_function(__VA_ARGS__))
#define THREAD_ANNOTATION_ATTRIBUTE__(x)
#define TS_FIXME(x)   ""
#define TS_UNCHECKED(x)   ""
#define TS_UNCHECKED_READ(x)   thread_safety_analysis::ts_unchecked_read(x)
#define UNLOCK_FUNCTION(...)   THREAD_ANNOTATION_ATTRIBUTE__(unlock_function(__VA_ARGS__))

Functions

template<typename T >
const T & thread_safety_analysis::ts_unchecked_read (const T &v) NO_THREAD_SAFETY_ANALYSIS
template<typename T >
T & thread_safety_analysis::ts_unchecked_read (T &v) NO_THREAD_SAFETY_ANALYSIS

Define Documentation

#define ACQUIRED_AFTER (   ...)    THREAD_ANNOTATION_ATTRIBUTE__(acquired_after(__VA_ARGS__))

Definition at line 99 of file thread_annotations.h.

#define ACQUIRED_BEFORE (   ...)    THREAD_ANNOTATION_ATTRIBUTE__(acquired_before(__VA_ARGS__))

Definition at line 102 of file thread_annotations.h.

#define ASSERT_EXCLUSIVE_LOCK (   ...)    THREAD_ANNOTATION_ATTRIBUTE__(assert_exclusive_lock(__VA_ARGS__))

Definition at line 205 of file thread_annotations.h.

#define ASSERT_SHARED_LOCK (   ...)    THREAD_ANNOTATION_ATTRIBUTE__(assert_shared_lock(__VA_ARGS__))

Definition at line 208 of file thread_annotations.h.

#define EXCLUSIVE_LOCK_FUNCTION (   ...)    THREAD_ANNOTATION_ATTRIBUTE__(exclusive_lock_function(__VA_ARGS__))

Definition at line 170 of file thread_annotations.h.

#define EXCLUSIVE_LOCKS_REQUIRED (   ...)    THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))

Definition at line 128 of file thread_annotations.h.

#define EXCLUSIVE_TRYLOCK_FUNCTION (   ...)    THREAD_ANNOTATION_ATTRIBUTE__(exclusive_trylock_function(__VA_ARGS__))

Definition at line 195 of file thread_annotations.h.

#define GUARDED_BY (   x)    THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))

Definition at line 60 of file thread_annotations.h.

#define GUARDED_BY_FIXME (   x)

Definition at line 243 of file thread_annotations.h.

#define LOCK_RETURNED (   x)    THREAD_ANNOTATION_ATTRIBUTE__(lock_returned(x))

Definition at line 147 of file thread_annotations.h.

#define LOCKABLE   THREAD_ANNOTATION_ATTRIBUTE__(lockable)

Definition at line 153 of file thread_annotations.h.

#define LOCKS_EXCLUDED (   ...)    THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))

Definition at line 139 of file thread_annotations.h.

#define NO_THREAD_SAFETY_ANALYSIS   THREAD_ANNOTATION_ATTRIBUTE__(no_thread_safety_analysis)

Definition at line 216 of file thread_annotations.h.

Definition at line 238 of file thread_annotations.h.

#define PT_GUARDED_BY (   x)    THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded_by(x))

Definition at line 82 of file thread_annotations.h.

#define SCOPED_LOCKABLE   THREAD_ANNOTATION_ATTRIBUTE__(scoped_lockable)

Definition at line 163 of file thread_annotations.h.

#define SHARED_LOCK_FUNCTION (   ...)    THREAD_ANNOTATION_ATTRIBUTE__(shared_lock_function(__VA_ARGS__))

Definition at line 177 of file thread_annotations.h.

#define SHARED_LOCKS_REQUIRED (   ...)    THREAD_ANNOTATION_ATTRIBUTE__(shared_locks_required(__VA_ARGS__))

Definition at line 131 of file thread_annotations.h.

#define SHARED_TRYLOCK_FUNCTION (   ...)    THREAD_ANNOTATION_ATTRIBUTE__(shared_trylock_function(__VA_ARGS__))

Definition at line 198 of file thread_annotations.h.

Definition at line 40 of file thread_annotations.h.

#define TS_FIXME (   x)    ""

Definition at line 231 of file thread_annotations.h.

#define TS_UNCHECKED (   x)    ""

Definition at line 226 of file thread_annotations.h.

Definition at line 248 of file thread_annotations.h.

#define UNLOCK_FUNCTION (   ...)    THREAD_ANNOTATION_ATTRIBUTE__(unlock_function(__VA_ARGS__))

Definition at line 184 of file thread_annotations.h.



abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:16