Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
37
template <typename MutexType>
38
void TestDoubleLock2(MutexType& m)
39
{
40
ENTER_CRITICAL_SECTION(m);
41
LEAVE_CRITICAL_SECTION(m);
42
}
43
44
template <typename MutexType>
45
void TestDoubleLock(bool should_throw)
Callers
1
TestDoubleLock
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected