mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 21:02:38 -03:00
Fix DEBUG_LOCKCONTENTION
This commit is contained in:
parent
a2ea797593
commit
2ea78ec7fd
1 changed files with 3 additions and 1 deletions
|
@ -217,9 +217,11 @@ public:
|
||||||
{
|
{
|
||||||
printf("LOCKCONTENTION: %s\n", pszName);
|
printf("LOCKCONTENTION: %s\n", pszName);
|
||||||
printf("Locker: %s:%d\n", pszFile, nLine);
|
printf("Locker: %s:%d\n", pszFile, nLine);
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
lock.lock();
|
lock.lock();
|
||||||
|
#ifdef DEBUG_LOCKCONTENTION
|
||||||
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue