--- innwebd/thread_pool.cpp 2005/02/26 16:10:26 1.8 +++ innwebd/thread_pool.cpp 2005/05/20 14:34:12 1.9 @@ -229,7 +229,7 @@ DWORD thread_pool::KillDeadThread(LPVOID // Remove dead thread from thread pool if (p->RemoveThread(ulThreadId) != 0) { - syslog << logfile::log_head << "Unregister thread ... Failed" << endl; + syslog << logfile::log_head << "Unregister thread (" << ulThreadId << ") ... Failed" << endl; } // Kill dead thread if ((hThread = OpenThread(THREAD_TERMINATE,FALSE,ulThreadId)) == NULL) @@ -240,11 +240,11 @@ DWORD thread_pool::KillDeadThread(LPVOID { if (TerminateThread(hThread,-1)) { - syslog << logfile::log_head << "Terminate dead thread ... OK" << endl; + syslog << logfile::log_head << "Terminate dead thread (" << ulThreadId << ") ... OK" << endl; } else { - syslog << logfile::log_head << "Terminate dead thread ... Failed" << endl; + syslog << logfile::log_head << "Terminate dead thread (" << ulThreadId << ") ... Failed" << endl; } CloseHandle(hThread); } @@ -363,11 +363,11 @@ int thread_pool::KillAllThread(void) { if (TerminateThread(hThread,-1)) { - syslog << logfile::log_head << "Terminate all thread ... OK" << endl; + syslog << logfile::log_head << "Terminate all thread (" << ulThreadId << ") ... OK" << endl; } else { - syslog << logfile::log_head << "Terminate all thread ... Failed" << endl; + syslog << logfile::log_head << "Terminate all thread (" << ulThreadId << ") ... Failed" << endl; } CloseHandle(hThread); }