Give the GUI-IPC thread a name as well

Signed-off-by: Giel van Schijndel <me@mortis.eu>
This commit is contained in:
Giel van Schijndel 2012-07-08 23:22:08 +02:00
parent b277b0f100
commit 36fe96581f
1 changed files with 4 additions and 0 deletions

View File

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