Bitcoin Core  0.15.99
P2P Digital Currency
Public Member Functions | List of all members
CCriticalSection Class Reference

Wrapped mutex: supports recursive locking, but no waiting TODO: We should move away from using the recursive lock by default. More...

#include <sync.h>

Inheritance diagram for CCriticalSection:
[legend]
Collaboration diagram for CCriticalSection:
[legend]

Public Member Functions

 ~CCriticalSection ()
 
- Public Member Functions inherited from AnnotatedMixin< std::recursive_mutex >
void lock () EXCLUSIVE_LOCK_FUNCTION()
 
void unlock () UNLOCK_FUNCTION()
 
bool try_lock () EXCLUSIVE_TRYLOCK_FUNCTION(true)
 

Detailed Description

Wrapped mutex: supports recursive locking, but no waiting TODO: We should move away from using the recursive lock by default.

Definition at line 96 of file sync.h.

Constructor & Destructor Documentation

CCriticalSection::~CCriticalSection ( )
inline

Definition at line 99 of file sync.h.


The documentation for this class was generated from the following file: