Merge pull request #1932 from Diapolo/thread_printf

fix some thread related log messages
This commit is contained in:
Wladimir J. van der Laan 2012-10-30 23:19:35 -07:00
commit 578fc80003
2 changed files with 6 additions and 1 deletions

View File

@ -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;

View File

@ -1309,6 +1309,8 @@ void DumpAddresses()
void ThreadDumpAddress2(void* parg)
{
printf("ThreadDumpAddress started\n");
vnThreadsRunning[THREAD_DUMPADDRESS]++;
while (!fShutdown)
{