MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / pop_lock

Function pop_lock

src/sync.cpp:108–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108static void pop_lock()
109{
110 if (fDebug)
111 {
112 const CLockLocation& locklocation = (*lockstack).rbegin()->second;
113 LogPrint(BCLog::LOCK, "Unlocked: %s\n", locklocation.ToString());
114 }
115 dd_mutex.lock();
116 (*lockstack).pop_back();
117 dd_mutex.unlock();
118}
119
120void EnterCritical(const char* pszName, const char* pszFile, int nLine, void* cs, bool fTry)
121{

Callers 1

LeaveCriticalFunction · 0.85

Calls 2

pop_backMethod · 0.80
ToStringMethod · 0.45

Tested by

no test coverage detected