Bitcoin ABC 0.30.5
P2P Digital Currency
Classes | Macros
threadsafety.h File Reference
#include <mutex>
Include dependency graph for threadsafety.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StdMutex
 
class  StdLockGuard
 

Macros

#define LOCKABLE
 
#define SCOPED_LOCKABLE
 
#define GUARDED_BY(x)
 
#define PT_GUARDED_BY(x)
 
#define ACQUIRED_AFTER(...)
 
#define ACQUIRED_BEFORE(...)
 
#define EXCLUSIVE_LOCK_FUNCTION(...)
 
#define SHARED_LOCK_FUNCTION(...)
 
#define EXCLUSIVE_TRYLOCK_FUNCTION(...)
 
#define SHARED_TRYLOCK_FUNCTION(...)
 
#define UNLOCK_FUNCTION(...)
 
#define LOCK_RETURNED(x)
 
#define LOCKS_EXCLUDED(...)
 
#define EXCLUSIVE_LOCKS_REQUIRED(...)
 
#define SHARED_LOCKS_REQUIRED(...)
 
#define NO_THREAD_SAFETY_ANALYSIS
 
#define ASSERT_EXCLUSIVE_LOCK(...)
 

Macro Definition Documentation

◆ ACQUIRED_AFTER

#define ACQUIRED_AFTER (   ...)

Definition at line 47 of file threadsafety.h.

◆ ACQUIRED_BEFORE

#define ACQUIRED_BEFORE (   ...)

Definition at line 48 of file threadsafety.h.

◆ ASSERT_EXCLUSIVE_LOCK

#define ASSERT_EXCLUSIVE_LOCK (   ...)

Definition at line 59 of file threadsafety.h.

◆ EXCLUSIVE_LOCK_FUNCTION

#define EXCLUSIVE_LOCK_FUNCTION (   ...)

Definition at line 49 of file threadsafety.h.

◆ EXCLUSIVE_LOCKS_REQUIRED

#define EXCLUSIVE_LOCKS_REQUIRED (   ...)

Definition at line 56 of file threadsafety.h.

◆ EXCLUSIVE_TRYLOCK_FUNCTION

#define EXCLUSIVE_TRYLOCK_FUNCTION (   ...)

Definition at line 51 of file threadsafety.h.

◆ GUARDED_BY

#define GUARDED_BY (   x)

Definition at line 45 of file threadsafety.h.

◆ LOCK_RETURNED

#define LOCK_RETURNED (   x)

Definition at line 54 of file threadsafety.h.

◆ LOCKABLE

#define LOCKABLE

Definition at line 43 of file threadsafety.h.

◆ LOCKS_EXCLUDED

#define LOCKS_EXCLUDED (   ...)

Definition at line 55 of file threadsafety.h.

◆ NO_THREAD_SAFETY_ANALYSIS

#define NO_THREAD_SAFETY_ANALYSIS

Definition at line 58 of file threadsafety.h.

◆ PT_GUARDED_BY

#define PT_GUARDED_BY (   x)

Definition at line 46 of file threadsafety.h.

◆ SCOPED_LOCKABLE

#define SCOPED_LOCKABLE

Definition at line 44 of file threadsafety.h.

◆ SHARED_LOCK_FUNCTION

#define SHARED_LOCK_FUNCTION (   ...)

Definition at line 50 of file threadsafety.h.

◆ SHARED_LOCKS_REQUIRED

#define SHARED_LOCKS_REQUIRED (   ...)

Definition at line 57 of file threadsafety.h.

◆ SHARED_TRYLOCK_FUNCTION

#define SHARED_TRYLOCK_FUNCTION (   ...)

Definition at line 52 of file threadsafety.h.

◆ UNLOCK_FUNCTION

#define UNLOCK_FUNCTION (   ...)

Definition at line 53 of file threadsafety.h.