Skip to content

Commit 92dca80

Browse files
committed
Merge pull request #1232 from TheBlueMatt/lockcontention
Fix DEBUG_LOCKCONTENTION
2 parents e17018a + 2ea78ec commit 92dca80

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/util.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,11 @@ class CMutexLock
217217
{
218218
printf("LOCKCONTENTION: %s\n", pszName);
219219
printf("Locker: %s:%d\n", pszFile, nLine);
220-
}
221220
#endif
222221
lock.lock();
222+
#ifdef DEBUG_LOCKCONTENTION
223+
}
224+
#endif
223225
}
224226
}
225227

0 commit comments

Comments
 (0)