blob: c66e8612fabdece191864a83770324660d133487 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
#ifndef CARTOGRAPHER_COMMON_THREAD_ANNOTATIONS_H
#define CARTOGRAPHER_COMMON_THREAD_ANNOTATIONS_H
#ifndef LOCKS_EXCLUDED
#define LOCKS_EXCLUDED(...)
#endif
#ifndef GUARDED_BY
#define GUARDED_BY(x)
#endif
#ifndef EXCLUSIVE_LOCKS_REQUIRED
#define EXCLUSIVE_LOCKS_REQUIRED(...)
#endif
#ifndef SHARED_LOCKS_REQUIRED
#define SHARED_LOCKS_REQUIRED(...)
#endif
#ifndef ACQUIRED_BEFORE
#define ACQUIRED_BEFORE(...)
#endif
#ifndef ACQUIRED_AFTER
#define ACQUIRED_AFTER(...)
#endif
#ifndef REQUIRES
#define REQUIRES(...)
#endif
#ifndef ACQUIRE
#define ACQUIRE(...)
#endif
#ifndef RELEASE
#define RELEASE(...)
#endif
#ifndef EXCLUDES
#define EXCLUDES(...)
#endif
#ifndef ASSERT_EXCLUSIVE_LOCK
#define ASSERT_EXCLUSIVE_LOCK(...)
#endif
#ifndef ASSERT_SHARED_LOCK
#define ASSERT_SHARED_LOCK(...)
#endif
#ifndef RETURN_CAPABILITY
#define RETURN_CAPABILITY(x)
#endif
#ifndef NO_THREAD_SAFETY_ANALYSIS
#define NO_THREAD_SAFETY_ANALYSIS
#endif
#endif // CARTOGRAPHER_COMMON_THREAD_ANNOTATIONS_H
|