diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-10-07 17:17:49 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-10-07 17:17:49 +0000 |
| commit | b215a97dd7e4900e48e6efde27d60ec6826d00a2 (patch) | |
| tree | 3efaaf295dc61f236a132413c68ca0a1c3273803 /thread_annotations.h | |
| parent | a8a675ce77f46b3116b864ca28f4b15989d7d94c (diff) | |
automatic import of ros-humble-cartographeropeneuler24.03_LTS
Diffstat (limited to 'thread_annotations.h')
| -rw-r--r-- | thread_annotations.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/thread_annotations.h b/thread_annotations.h new file mode 100644 index 0000000..c66e861 --- /dev/null +++ b/thread_annotations.h @@ -0,0 +1,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 |
