MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / LocksHeld

Function LocksHeld

src/sync.cpp:130–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130std::string LocksHeld()
131{
132 std::string result;
133 BOOST_FOREACH (const PAIRTYPE(void*, CLockLocation) & i, *lockstack)
134 result += i.second.ToString() + std::string("\n");
135 return result;
136}
137
138void AssertLockHeldInternal(const char* pszName, const char* pszFile, int nLine, void* cs)
139{

Callers 1

AssertLockHeldInternalFunction · 0.85

Calls 1

ToStringMethod · 0.45

Tested by

no test coverage detected