diff options
author | Gregory Maxwell <gmaxwell@gmail.com> | 2012-05-09 03:55:02 -0700 |
---|---|---|
committer | Gregory Maxwell <gmaxwell@gmail.com> | 2012-05-09 03:55:02 -0700 |
commit | 92dca80975849ace655adfd99e6bff0797106d89 (patch) | |
tree | b00b44a988bba87ec656aa28123a1e4817367cda | |
parent | e17018adcd1a24e603d9d3bd4240a32165aa22b4 (diff) | |
parent | 2ea78ec7fd1624e88a3067f8a6a77ec0e7325063 (diff) |
Merge pull request #1232 from TheBlueMatt/lockcontention
Fix DEBUG_LOCKCONTENTION
-rw-r--r-- | src/util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h index 5f8d0375da..81b36d31fd 100644 --- 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 } } |