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

◆ ACQUIRE

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

Definition at line 47 of file mutex.h.

◆ CAPABILITY

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

Definition at line 36 of file mutex.h.

◆ EXCLUDES

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

Definition at line 53 of file mutex.h.

◆ GUARDED_BY

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

Definition at line 40 of file mutex.h.

◆ NO_THREAD_SAFETY_ANALYSIS

#define NO_THREAD_SAFETY_ANALYSIS   THREAD_ANNOTATION_ATTRIBUTE__(no_thread_safety_analysis)

Definition at line 55 of file mutex.h.

◆ PT_GUARDED_BY

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

Definition at line 42 of file mutex.h.

◆ RELEASE

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

Definition at line 50 of file mutex.h.

◆ REQUIRES

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

Definition at line 44 of file mutex.h.

◆ SCOPED_CAPABILITY

#define SCOPED_CAPABILITY   THREAD_ANNOTATION_ATTRIBUTE__(scoped_lockable)

Definition at line 38 of file mutex.h.

◆ THREAD_ANNOTATION_ATTRIBUTE__

#define THREAD_ANNOTATION_ATTRIBUTE__ (   x)

Definition at line 33 of file mutex.h.



cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59