diff options
| author | Gregory Maxwell <[email protected]> | 2012-05-09 03:55:02 -0700 |
|---|---|---|
| committer | Gregory Maxwell <[email protected]> | 2012-05-09 03:55:02 -0700 |
| commit | 92dca80975849ace655adfd99e6bff0797106d89 (patch) | |
| tree | b00b44a988bba87ec656aa28123a1e4817367cda /src | |
| parent | Merge pull request #1211 from Diapolo/harmonize_ellipsis (diff) | |
| parent | Fix DEBUG_LOCKCONTENTION (diff) | |
| download | discoin-92dca80975849ace655adfd99e6bff0797106d89.tar.xz discoin-92dca80975849ace655adfd99e6bff0797106d89.zip | |
Merge pull request #1232 from TheBlueMatt/lockcontention
Fix DEBUG_LOCKCONTENTION
Diffstat (limited to 'src')
| -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 5f8d0375d..81b36d31f 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 } } |