Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
FrozenCleanupCheck Struct Reference

Public Member Functions

std::optional< int > 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
Here is the caller graph for this function:

◆ ~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.

Here is the call graph for this function:

Member Function Documentation

◆ operator()()

std::optional< int > 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.

Here is the call graph for this function:

Member Data Documentation

◆ cv

std::condition_variable FrozenCleanupCheck::cv {}
static

Definition at line 141 of file checkqueue_tests.cpp.

◆ m

std::mutex FrozenCleanupCheck::m {}
static

Definition at line 139 of file checkqueue_tests.cpp.

◆ nFrozen

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

Definition at line 140 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: