From 0817aad0f9b9cf5ca79a3eba4eea93728ee6bf2e Mon Sep 17 00:00:00 2001 From: csoler Date: Wed, 4 May 2016 22:51:33 -0400 Subject: [PATCH] improved debugging output of rsthreads.cc (part 3) --- libretroshare/src/util/rsthreads.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/util/rsthreads.cc b/libretroshare/src/util/rsthreads.cc index c4fa2355c..d3f87b34a 100644 --- a/libretroshare/src/util/rsthreads.cc +++ b/libretroshare/src/util/rsthreads.cc @@ -62,7 +62,7 @@ void *RsThread::rsthread_init(void* p) pthread_detach(pthread_self()); #ifdef DEBUG_THREADS - THREAD_DEBUG << " thread is started. Calling runloop()..." << std::endl; + std::cerr << "[Thread ID:" << std::hex << pthread_self() << std::dec << "] thread is started. Calling runloop()..." << std::endl; #endif thread -> runloop();