X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fqt%2Fqtipcserver.cpp;h=b04db89597b21931c2eb7d0d4c8b82903da02385;hb=18770118e846622f59a86f9937a33da0bb761775;hp=707cd02b5a3d916b7b3c6bbb0ecc4e79266a1b38;hpb=d07f633939f4558ffaa1b17ddf06c894a4472385;p=novacoin.git diff --git a/src/qt/qtipcserver.cpp b/src/qt/qtipcserver.cpp index 707cd02..b04db89 100644 --- a/src/qt/qtipcserver.cpp +++ b/src/qt/qtipcserver.cpp @@ -18,9 +18,11 @@ #include #include +#ifndef _MSC_VER #if defined(WIN32) && (!defined(BOOST_INTERPROCESS_HAS_WINDOWS_KERNEL_BOOTTIME) || !defined(BOOST_INTERPROCESS_HAS_KERNEL_BOOTTIME) || BOOST_VERSION < 104900) #warning Compiling without BOOST_INTERPROCESS_HAS_WINDOWS_KERNEL_BOOTTIME and BOOST_INTERPROCESS_HAS_KERNEL_BOOTTIME uncommented in boost/interprocess/detail/tmp_dir_helpers.hpp or using a boost version before 1.49 may have unintended results see svn.boost.org/trac/boost/ticket/5392 #endif +#endif using namespace boost; using namespace boost::interprocess; @@ -75,7 +77,7 @@ void ipcScanRelay(int argc, char *argv[]) static void ipcThread(void* pArg) { // Make this thread recognisable as the GUI-IPC thread - RenameThread("bitcoin-gui-ipc"); + RenameThread("novacoin-gui-ipc"); try { @@ -98,7 +100,7 @@ static void ipcThread2(void* pArg) size_t nSize = 0; unsigned int nPriority = 0; - loop + while (true) { ptime d = boost::posix_time::microsec_clock::universal_time() + millisec(100); if (mq->timed_receive(&buffer, sizeof(buffer), nSize, nPriority, d))