From 36fe96581f343aaae91e34b59c223c8e156f14e3 Mon Sep 17 00:00:00 2001 From: Giel van Schijndel Date: Sun, 8 Jul 2012 23:22:08 +0200 Subject: [PATCH] Give the GUI-IPC thread a name as well Signed-off-by: Giel van Schijndel --- src/qt/qtipcserver.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/qt/qtipcserver.cpp b/src/qt/qtipcserver.cpp index 5ff00451..f9ee9ad5 100644 --- a/src/qt/qtipcserver.cpp +++ b/src/qt/qtipcserver.cpp @@ -14,6 +14,7 @@ #include "ui_interface.h" #include "qtipcserver.h" +#include "util.h" using namespace boost::interprocess; using namespace boost::posix_time; @@ -35,6 +36,9 @@ void ipcShutdown() void ipcThread(void* parg) { + // Make this thread recognisable as the GUI-IPC thread + RenameThread("bitcoin-gui-ipc"); + message_queue* mq = (message_queue*)parg; char strBuf[257]; size_t nSize;