Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

DEBUG

  • Loading branch information...
commit b58f5b62b95f5afa79927358cff68be2ad9354cc 1 parent 17b3978
@TheBlueMatt authored
Showing with 3 additions and 2 deletions.
  1. +2 −2 bitcoin-qt.pro
  2. +1 −0  src/blockstore.cpp
View
4 bitcoin-qt.pro
@@ -2,8 +2,8 @@ TEMPLATE = app
TARGET =
VERSION = 0.6.99
INCLUDEPATH += src src/json src/qt
-DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE USE_IPV6
-CONFIG += no_include_pwd
+DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE USE_IPV6 DEBUG_LOCKORDER DEBUG_LOCKCONTENTION
+CONFIG += no_include_pwd debug
# for boost 1.37, add -mt to the boost libraries
# use: qmake BOOST_LIB_SUFFIX=-mt
View
1  src/blockstore.cpp
@@ -22,6 +22,7 @@ void CBlockStore::SubmitCallbackFinishEmitBlock(CBlock& block, CNode* pNodeDoS)
LOCK(cs_callbacks);
nQueueSize = queueFinishEmitBlockCallbacks.size();
}
+fprintf(stderr, "%u\n", nQueueSize);
while (nQueueSize >= GetArg("-blockbuffersize", 20) && fProcessCallbacks)
{
Sleep(20);
Please sign in to comment.
Something went wrong with that request. Please try again.