aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGiel van Schijndel <me@mortis.eu>2012-07-08 23:22:08 +0200
committerGiel van Schijndel <me@mortis.eu>2012-07-17 01:50:35 +0200
commit36fe96581f343aaae91e34b59c223c8e156f14e3 (patch)
tree3191f604e377b74f0ffaa2d422f666fe332df737 /src
parentb277b0f1005f493c9e649e57819c610692d164a2 (diff)
downloadbitcoin-36fe96581f343aaae91e34b59c223c8e156f14e3.tar.xz
Give the GUI-IPC thread a name as well
Signed-off-by: Giel van Schijndel <me@mortis.eu>
Diffstat (limited to 'src')
-rw-r--r--src/qt/qtipcserver.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/qtipcserver.cpp b/src/qt/qtipcserver.cpp
index 5ff00451e5..f9ee9ad5ca 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;