MCPcopy Create free account
hub / github.com/ElementsProject/elements / EnterCritical

Function EnterCritical

src/sync.cpp:209–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207
208template <typename MutexType>
209void EnterCritical(const char* pszName, const char* pszFile, int nLine, MutexType* cs, bool fTry)
210{
211 push_lock(cs, CLockLocation(pszName, pszFile, nLine, fTry, util::ThreadGetInternalName()));
212}
213template void EnterCritical(const char*, const char*, int, Mutex*, bool);
214template void EnterCritical(const char*, const char*, int, RecursiveMutex*, bool);
215template void EnterCritical(const char*, const char*, int, std::mutex*, bool);

Callers

nothing calls this directly

Calls 2

push_lockFunction · 0.85
CLockLocationClass · 0.85

Tested by

no test coverage detected