mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-12 04:40:28 +02:00
Fix DEBUG_LOCKCONTENTION
This commit is contained in:
parent
a2ea797593
commit
2ea78ec7fd
@ -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…
x
Reference in New Issue
Block a user