git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9e52f51
)
Fix DEBUG_LOCKCONTENTION
author
Matt Corallo
<matt@bluematt.me>
Wed, 9 May 2012 05:40:33 +0000 (
01:40
-0400)
committer
Luke Dashjr
<luke-jr+git@utopios.org>
Tue, 15 May 2012 07:40:01 +0000 (07:40 +0000)
src/util.h
patch
|
blob
|
history
diff --git
a/src/util.h
b/src/util.h
index
15ccf82
..
f2a70d8
100644
(file)
--- a/
src/util.h
+++ b/
src/util.h
@@
-217,9
+217,11
@@
public:
{
printf("LOCKCONTENTION: %s\n", pszName);
printf("Locker: %s:%d\n", pszFile, nLine);
- }
#endif
lock.lock();
+#ifdef DEBUG_LOCKCONTENTION
+ }
+#endif
}
}