Namespaces | Macros | Typedefs | Functions
mutex.h File Reference
#include <condition_variable>
#include <mutex>
#include "cartographer/common/time.h"
Include dependency graph for mutex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cartographer
 
 cartographer::common
 

Macros

#define ACQUIRE(...)   THREAD_ANNOTATION_ATTRIBUTE__(acquire_capability(__VA_ARGS__))
 
#define CAPABILITY(x)   THREAD_ANNOTATION_ATTRIBUTE__(capability(x))
 
#define EXCLUDES(...)   THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
 
#define GUARDED_BY(x)   THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
 
#define NO_THREAD_SAFETY_ANALYSIS   THREAD_ANNOTATION_ATTRIBUTE__(no_thread_safety_analysis)
 
#define PT_GUARDED_BY(x)   THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded_by(x))
 
#define RELEASE(...)   THREAD_ANNOTATION_ATTRIBUTE__(release_capability(__VA_ARGS__))
 
#define REQUIRES(...)   THREAD_ANNOTATION_ATTRIBUTE__(requires_capability(__VA_ARGS__))
 
#define SCOPED_CAPABILITY   THREAD_ANNOTATION_ATTRIBUTE__(scoped_lockable)
 
#define THREAD_ANNOTATION_ATTRIBUTE__(x)
 

Typedefs

using cartographer::common::MutexLocker = Mutex::Locker
 

Functions

class cartographer::common::CAPABILITY ("mutex") Mutex
 

Macro Definition Documentation

#define ACQUIRE (   ...)    THREAD_ANNOTATION_ATTRIBUTE__(acquire_capability(__VA_ARGS__))

Definition at line 47 of file mutex.h.

#define CAPABILITY (   x)    THREAD_ANNOTATION_ATTRIBUTE__(capability(x))

Definition at line 36 of file mutex.h.

#define EXCLUDES (   ...)    THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))

Definition at line 53 of file mutex.h.

#define GUARDED_BY (   x)    THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))

Definition at line 40 of file mutex.h.

#define NO_THREAD_SAFETY_ANALYSIS   THREAD_ANNOTATION_ATTRIBUTE__(no_thread_safety_analysis)

Definition at line 55 of file mutex.h.

#define PT_GUARDED_BY (   x)    THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded_by(x))

Definition at line 42 of file mutex.h.

#define RELEASE (   ...)    THREAD_ANNOTATION_ATTRIBUTE__(release_capability(__VA_ARGS__))

Definition at line 50 of file mutex.h.

#define REQUIRES (   ...)    THREAD_ANNOTATION_ATTRIBUTE__(requires_capability(__VA_ARGS__))

Definition at line 44 of file mutex.h.

#define SCOPED_CAPABILITY   THREAD_ANNOTATION_ATTRIBUTE__(scoped_lockable)

Definition at line 38 of file mutex.h.

#define THREAD_ANNOTATION_ATTRIBUTE__ (   x)

Definition at line 33 of file mutex.h.



cartographer
Author(s):
autogenerated on Wed Jun 5 2019 21:57:59