Home
last modified time | relevance | path

Searched refs:THREAD_ANNOTATION_ATTRIBUTE__ (Results 1 – 2 of 2) sorted by relevance

/hardware/google/aemu/base/include/aemu/base/
DThreadAnnotations.h21 #define THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x)) macro
23 #define THREAD_ANNOTATION_ATTRIBUTE__(x) // no-op macro
27 THREAD_ANNOTATION_ATTRIBUTE__(capability(x))
29 THREAD_ANNOTATION_ATTRIBUTE__(scoped_lockable)
31 THREAD_ANNOTATION_ATTRIBUTE__(shared_capability(__VA_ARGS__))
33 THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
35 THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded_by(x))
37 THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))
39 THREAD_ANNOTATION_ATTRIBUTE__(shared_locks_required(__VA_ARGS__))
41 THREAD_ANNOTATION_ATTRIBUTE__(acquired_before(__VA_ARGS__))
[all …]
/hardware/google/gfxstream/guest/android-emu/aemu/base/fit/
DThreadSafety.h26 #ifndef THREAD_ANNOTATION_ATTRIBUTE__
29 #define THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x)) macro
31 #define THREAD_ANNOTATION_ATTRIBUTE__(x) macro
36 #define CAPABILITY(x) THREAD_ANNOTATION_ATTRIBUTE__(__capability__(x))
40 #define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(__guarded_by__(x))
44 #define ACQUIRE(...) THREAD_ANNOTATION_ATTRIBUTE__(__acquire_capability__(__VA_ARGS__))
48 #define TRY_ACQUIRE(...) THREAD_ANNOTATION_ATTRIBUTE__(__try_acquire_capability__(__VA_ARGS__))
52 #define ACQUIRED_BEFORE(...) THREAD_ANNOTATION_ATTRIBUTE__(__acquired_before__(__VA_ARGS__))
56 #define ACQUIRED_AFTER(...) THREAD_ANNOTATION_ATTRIBUTE__(__acquired_after__(__VA_ARGS__))
60 #define RELEASE(...) THREAD_ANNOTATION_ATTRIBUTE__(__release_capability__(__VA_ARGS__))
[all …]