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

Function TestDoubleLock2

src/test/sync_tests.cpp:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36#ifdef DEBUG_LOCKORDER
37template <typename MutexType>
38void TestDoubleLock2(MutexType& m)
39{
40 ENTER_CRITICAL_SECTION(m);
41 LEAVE_CRITICAL_SECTION(m);
42}
43
44template <typename MutexType>
45void TestDoubleLock(bool should_throw)

Callers 1

TestDoubleLockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected