We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f96be2 commit 42b2a95Copy full SHA for 42b2a95
src/test/sync_tests.cpp
@@ -40,9 +40,13 @@ BOOST_AUTO_TEST_CASE(potential_deadlock_detected)
40
41
RecursiveMutex rmutex1, rmutex2;
42
TestPotentialDeadLockDetected(rmutex1, rmutex2);
43
+ // The second test ensures that lock tracking data have not been broken by exception.
44
+ TestPotentialDeadLockDetected(rmutex1, rmutex2);
45
46
Mutex mutex1, mutex2;
47
TestPotentialDeadLockDetected(mutex1, mutex2);
48
49
+ TestPotentialDeadLockDetected(mutex1, mutex2);
50
51
#ifdef DEBUG_LOCKORDER
52
g_debug_lockorder_abort = prev;
0 commit comments