diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-10-30 23:19:35 -0700 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-10-30 23:19:35 -0700 |
commit | 578fc800039a99f07c0eb9e256519598a1c9dd27 (patch) | |
tree | ae0f179b98b0fd962de554b3716aec088b2ea206 | |
parent | 41db7c224a6a272c5f6fe70e17d28219fa9d66d9 (diff) | |
parent | 847593228de8634bf6ef5933a474c7e63be59146 (diff) | |
download | bitcoin-578fc800039a99f07c0eb9e256519598a1c9dd27.tar.xz |
Merge pull request #1932 from Diapolo/thread_printf
fix some thread related log messages
-rw-r--r-- | src/irc.cpp | 5 | ||||
-rw-r--r-- | src/net.cpp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/irc.cpp b/src/irc.cpp index 17d5ff1a5a..e8471a6630 100644 --- a/src/irc.cpp +++ b/src/irc.cpp @@ -192,6 +192,8 @@ void ThreadIRCSeed(void* parg) // Make this thread recognisable as the IRC seeding thread RenameThread("bitcoin-ircseed"); + printf("ThreadIRCSeed started\n"); + try { ThreadIRCSeed2(parg); @@ -218,7 +220,8 @@ void ThreadIRCSeed2(void* parg) if (!GetBoolArg("-irc", false)) return; - printf("ThreadIRCSeed started\n"); + printf("ThreadIRCSeed trying to connect...\n"); + int nErrorWait = 10; int nRetryWait = 10; int nNameRetry = 0; diff --git a/src/net.cpp b/src/net.cpp index 272e6ff0b4..b54f8c15f7 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -1309,6 +1309,8 @@ void DumpAddresses() void ThreadDumpAddress2(void* parg) { + printf("ThreadDumpAddress started\n"); + vnThreadsRunning[THREAD_DUMPADDRESS]++; while (!fShutdown) { |