Bitcoin Core 28.99.0
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 40 of file threadsafety.h.

◆ ACQUIRED_BEFORE

#define ACQUIRED_BEFORE (   ...)

Definition at line 41 of file threadsafety.h.

◆ ASSERT_EXCLUSIVE_LOCK

#define ASSERT_EXCLUSIVE_LOCK (   ...)

Definition at line 52 of file threadsafety.h.

◆ EXCLUSIVE_LOCK_FUNCTION

#define EXCLUSIVE_LOCK_FUNCTION (   ...)

Definition at line 42 of file threadsafety.h.

◆ EXCLUSIVE_LOCKS_REQUIRED

#define EXCLUSIVE_LOCKS_REQUIRED (   ...)

Definition at line 49 of file threadsafety.h.

◆ EXCLUSIVE_TRYLOCK_FUNCTION

#define EXCLUSIVE_TRYLOCK_FUNCTION (   ...)

Definition at line 44 of file threadsafety.h.

◆ GUARDED_BY

#define GUARDED_BY (   x)

Definition at line 38 of file threadsafety.h.

◆ LOCK_RETURNED

#define LOCK_RETURNED (   x)

Definition at line 47 of file threadsafety.h.

◆ LOCKABLE

#define LOCKABLE

Definition at line 36 of file threadsafety.h.

◆ LOCKS_EXCLUDED

#define LOCKS_EXCLUDED (   ...)

Definition at line 48 of file threadsafety.h.

◆ NO_THREAD_SAFETY_ANALYSIS

#define NO_THREAD_SAFETY_ANALYSIS

Definition at line 51 of file threadsafety.h.

◆ PT_GUARDED_BY

#define PT_GUARDED_BY (   x)

Definition at line 39 of file threadsafety.h.

◆ SCOPED_LOCKABLE

#define SCOPED_LOCKABLE

Definition at line 37 of file threadsafety.h.

◆ SHARED_LOCK_FUNCTION

#define SHARED_LOCK_FUNCTION (   ...)

Definition at line 43 of file threadsafety.h.

◆ SHARED_LOCKS_REQUIRED

#define SHARED_LOCKS_REQUIRED (   ...)

Definition at line 50 of file threadsafety.h.

◆ SHARED_TRYLOCK_FUNCTION

#define SHARED_TRYLOCK_FUNCTION (   ...)

Definition at line 45 of file threadsafety.h.

◆ UNLOCK_FUNCTION

#define UNLOCK_FUNCTION (   ...)

Definition at line 46 of file threadsafety.h.