Bitcoin Core  24.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 ()
void swap (FrozenCleanupCheck &x) noexcept

Public Attributes

bool should_freeze {false}

Static Public Attributes

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

Detailed Description

Definition at line 121 of file checkqueue_tests.cpp.

Constructor & Destructor Documentation

◆ FrozenCleanupCheck()

FrozenCleanupCheck::FrozenCleanupCheck ( )

◆ ~FrozenCleanupCheck()

FrozenCleanupCheck::~FrozenCleanupCheck ( )

Definition at line 133 of file checkqueue_tests.cpp.

Member Function Documentation

◆ operator()()

bool FrozenCleanupCheck::operator() ( ) const

Definition at line 128 of file checkqueue_tests.cpp.

◆ swap()

void FrozenCleanupCheck::swap ( FrozenCleanupCheck x)

Definition at line 142 of file checkqueue_tests.cpp.

Member Data Documentation

◆ cv

std::condition_variable FrozenCleanupCheck::cv {}

Definition at line 123 of file checkqueue_tests.cpp.

◆ m

std::mutex FrozenCleanupCheck::m {}

Definition at line 124 of file checkqueue_tests.cpp.

◆ nFrozen

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

Definition at line 122 of file checkqueue_tests.cpp.

◆ should_freeze

bool FrozenCleanupCheck::should_freeze {false}

Definition at line 127 of file checkqueue_tests.cpp.

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