MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / interrupted

Method interrupted

src/util/threadinterrupt.cpp:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10CThreadInterrupt::CThreadInterrupt() : flag(false) {}
11
12bool CThreadInterrupt::interrupted() const
13{
14 return flag.load(std::memory_order_acquire);
15}
16
17CThreadInterrupt::operator bool() const
18{

Callers 9

AcceptMethod · 0.45
ThreadSocketHandlerMethod · 0.45
ThreadDNSAddressSeedMethod · 0.45
ThreadOpenConnectionsMethod · 0.45
OpenNetworkConnectionMethod · 0.45

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected