File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 18
18
#define LOCKABLE __attribute__ ((lockable))
19
19
#define SCOPED_LOCKABLE __attribute__ ((scoped_lockable))
20
20
#define GUARDED_BY (x ) __attribute__((guarded_by(x)))
21
- #define GUARDED_VAR __attribute__ ((guarded_var))
22
21
#define PT_GUARDED_BY (x ) __attribute__((pt_guarded_by(x)))
23
- #define PT_GUARDED_VAR __attribute__ ((pt_guarded_var))
24
22
#define ACQUIRED_AFTER (...) __attribute__((acquired_after(__VA_ARGS__)))
25
23
#define ACQUIRED_BEFORE (...) __attribute__((acquired_before(__VA_ARGS__)))
26
24
#define EXCLUSIVE_LOCK_FUNCTION (...) __attribute__((exclusive_lock_function(__VA_ARGS__)))
33
31
#define EXCLUSIVE_LOCKS_REQUIRED (...) __attribute__((exclusive_locks_required(__VA_ARGS__)))
34
32
#define SHARED_LOCKS_REQUIRED (...) __attribute__((shared_locks_required(__VA_ARGS__)))
35
33
#define NO_THREAD_SAFETY_ANALYSIS __attribute__ ((no_thread_safety_analysis))
36
- #define ASSERT_EXCLUSIVE_LOCK (...) __attribute ((assert_exclusive_lock(__VA_ARGS__)))
34
+ #define ASSERT_EXCLUSIVE_LOCK (...) __attribute__ ((assert_exclusive_lock(__VA_ARGS__)))
37
35
#else
38
36
#define LOCKABLE
39
37
#define SCOPED_LOCKABLE
40
38
#define GUARDED_BY (x )
41
- #define GUARDED_VAR
42
39
#define PT_GUARDED_BY (x )
43
- #define PT_GUARDED_VAR
44
40
#define ACQUIRED_AFTER (...)
45
41
#define ACQUIRED_BEFORE (...)
46
42
#define EXCLUSIVE_LOCK_FUNCTION (...)
You can’t perform that action at this time.
0 commit comments