Bitcoin Core  27.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
FrozenCleanupCheck Struct Reference

Public Member Functions

bool operator() () const
 
 FrozenCleanupCheck ()=default
 
 ~FrozenCleanupCheck ()
 
 FrozenCleanupCheck (FrozenCleanupCheck &&other) noexcept
 
FrozenCleanupCheckoperator= (FrozenCleanupCheck &&other) noexcept
 

Public Attributes

bool should_freeze {true}
 

Static Public Attributes

static std::atomic< uint64_t > nFrozen {0}
 
static std::condition_variable cv {}
 
static std::mutex m {}
 

Detailed Description

Definition at line 106 of file checkqueue_tests.cpp.

Constructor & Destructor Documentation

◆ FrozenCleanupCheck() [1/2]

FrozenCleanupCheck::FrozenCleanupCheck ( )
default

◆ ~FrozenCleanupCheck()

FrozenCleanupCheck::~FrozenCleanupCheck ( )
inline

Definition at line 116 of file checkqueue_tests.cpp.

◆ FrozenCleanupCheck() [2/2]

FrozenCleanupCheck::FrozenCleanupCheck ( FrozenCleanupCheck &&  other)
inlinenoexcept

Definition at line 125 of file checkqueue_tests.cpp.

Member Function Documentation

◆ operator()()

bool FrozenCleanupCheck::operator() ( ) const
inline

Definition at line 111 of file checkqueue_tests.cpp.

◆ operator=()

FrozenCleanupCheck& FrozenCleanupCheck::operator= ( FrozenCleanupCheck &&  other)
inlinenoexcept

Definition at line 130 of file checkqueue_tests.cpp.

Member Data Documentation

◆ cv

std::condition_variable FrozenCleanupCheck::cv {}
static

Definition at line 108 of file checkqueue_tests.cpp.

◆ m

std::mutex FrozenCleanupCheck::m {}
static

Definition at line 109 of file checkqueue_tests.cpp.

◆ nFrozen

std::atomic< uint64_t > FrozenCleanupCheck::nFrozen {0}
static

Definition at line 107 of file checkqueue_tests.cpp.

◆ should_freeze

bool FrozenCleanupCheck::should_freeze {true}

Definition at line 110 of file checkqueue_tests.cpp.


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