![]() |
DDNet documentation
|
#include <mutex>Go to the source code of this file.
Classes | |
| class | CLock |
| class | CLockScope |
Macros | |
| #define | THREAD_ANNOTATION_ATTRIBUTE__(x) |
| #define | CAPABILITY(x) |
| #define | SCOPED_CAPABILITY THREAD_ANNOTATION_ATTRIBUTE__(scoped_lockable) |
| #define | GUARDED_BY(x) |
| #define | PT_GUARDED_BY(x) |
| #define | ACQUIRED_BEFORE(...) |
| #define | ACQUIRED_AFTER(...) |
| #define | REQUIRES(...) |
| #define | REQUIRES_SHARED(...) |
| #define | ACQUIRE(...) |
| #define | ACQUIRE_SHARED(...) |
| #define | RELEASE(...) |
| #define | RELEASE_SHARED(...) |
| #define | RELEASE_GENERIC(...) |
| #define | TRY_ACQUIRE(...) |
| #define | TRY_ACQUIRE_SHARED(...) |
| #define | EXCLUDES(...) |
| #define | ASSERT_CAPABILITY(x) |
| #define | ASSERT_SHARED_CAPABILITY(x) |
| #define | RETURN_CAPABILITY(x) |
| #define | NO_THREAD_SAFETY_ANALYSIS THREAD_ANNOTATION_ATTRIBUTE__(no_thread_safety_analysis) |
| #define ACQUIRE | ( | ... | ) |
| #define ACQUIRE_SHARED | ( | ... | ) |
| #define ACQUIRED_AFTER | ( | ... | ) |
| #define ACQUIRED_BEFORE | ( | ... | ) |
| #define ASSERT_CAPABILITY | ( | x | ) |
| #define ASSERT_SHARED_CAPABILITY | ( | x | ) |
| #define CAPABILITY | ( | x | ) |
| #define EXCLUDES | ( | ... | ) |
| #define GUARDED_BY | ( | x | ) |
| #define NO_THREAD_SAFETY_ANALYSIS THREAD_ANNOTATION_ATTRIBUTE__(no_thread_safety_analysis) |
| #define PT_GUARDED_BY | ( | x | ) |
| #define RELEASE | ( | ... | ) |
| #define RELEASE_GENERIC | ( | ... | ) |
| #define RELEASE_SHARED | ( | ... | ) |
| #define REQUIRES | ( | ... | ) |
| #define REQUIRES_SHARED | ( | ... | ) |
| #define RETURN_CAPABILITY | ( | x | ) |
| #define SCOPED_CAPABILITY THREAD_ANNOTATION_ATTRIBUTE__(scoped_lockable) |
| #define THREAD_ANNOTATION_ATTRIBUTE__ | ( | x | ) |
| #define TRY_ACQUIRE | ( | ... | ) |
| #define TRY_ACQUIRE_SHARED | ( | ... | ) |