diff options
| author | Giel van Schijndel <[email protected]> | 2012-07-08 23:22:08 +0200 |
|---|---|---|
| committer | Giel van Schijndel <[email protected]> | 2012-07-17 01:50:35 +0200 |
| commit | 36fe96581f343aaae91e34b59c223c8e156f14e3 (patch) | |
| tree | 3191f604e377b74f0ffaa2d422f666fe332df737 /src/qt/qtipcserver.cpp | |
| parent | Don't check for __linux__ specifically, check for PR_SET_NAME feature instead (diff) | |
| download | discoin-36fe96581f343aaae91e34b59c223c8e156f14e3.tar.xz discoin-36fe96581f343aaae91e34b59c223c8e156f14e3.zip | |
Give the GUI-IPC thread a name as well
Signed-off-by: Giel van Schijndel <[email protected]>
Diffstat (limited to 'src/qt/qtipcserver.cpp')
| -rw-r--r-- | src/qt/qtipcserver.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/qtipcserver.cpp b/src/qt/qtipcserver.cpp index 5ff00451e..f9ee9ad5c 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; |