Lines Matching refs:THREAD_ANNOTATION_ATTRIBUTE__
36 #define THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x)) macro
38 #define THREAD_ANNOTATION_ATTRIBUTE__(x) // no-op macro
51 #define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
70 #define PT_GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded_by(x))
85 THREAD_ANNOTATION_ATTRIBUTE__(acquired_after(__VA_ARGS__))
88 THREAD_ANNOTATION_ATTRIBUTE__(acquired_before(__VA_ARGS__))
104 THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))
107 THREAD_ANNOTATION_ATTRIBUTE__(shared_locks_required(__VA_ARGS__))
115 THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
122 #define LOCK_RETURNED(x) THREAD_ANNOTATION_ATTRIBUTE__(lock_returned(x))
127 #define LOCKABLE THREAD_ANNOTATION_ATTRIBUTE__(lockable)
136 #define SCOPED_LOCKABLE THREAD_ANNOTATION_ATTRIBUTE__(scoped_lockable)
143 THREAD_ANNOTATION_ATTRIBUTE__(exclusive_lock_function(__VA_ARGS__))
150 THREAD_ANNOTATION_ATTRIBUTE__(shared_lock_function(__VA_ARGS__))
157 THREAD_ANNOTATION_ATTRIBUTE__(unlock_function(__VA_ARGS__))
168 THREAD_ANNOTATION_ATTRIBUTE__(exclusive_trylock_function(__VA_ARGS__))
171 THREAD_ANNOTATION_ATTRIBUTE__(shared_trylock_function(__VA_ARGS__))
178 THREAD_ANNOTATION_ATTRIBUTE__(assert_exclusive_lock(__VA_ARGS__))
181 THREAD_ANNOTATION_ATTRIBUTE__(assert_shared_lock(__VA_ARGS__))
189 THREAD_ANNOTATION_ATTRIBUTE__(no_thread_safety_analysis)