diff --git a/src/init.cpp b/src/init.cpp index fbf51a5e..d1653cb6 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -116,7 +116,7 @@ void Shutdown() TRY_LOCK(cs_Shutdown, lockShutdown); if (!lockShutdown) return; - RenameThread("bitcoin-shutoff"); + RenameThread("twister-shutoff"); nTransactionsUpdated++; stopSessionTorrent(); StopRPCThreads(); @@ -282,7 +282,7 @@ struct CImportingNow void ThreadImport(std::vector vImportFiles) { - RenameThread("bitcoin-loadblk"); + RenameThread("twister-loadblk"); // -reindex if (fReindex) { diff --git a/src/main.cpp b/src/main.cpp index 9a0e87c1..ff0ca714 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4040,7 +4040,7 @@ void static BitcoinMiner(CWallet *pwallet) { printf("BitcoinMiner started\n"); SetThreadPriority(THREAD_PRIORITY_LOWEST); - RenameThread("bitcoin-miner"); + RenameThread("twister-miner"); // Each thread has its own salt and counter std::vector salt(4); diff --git a/src/walletdb.cpp b/src/walletdb.cpp index 2d989aa5..9352c237 100644 --- a/src/walletdb.cpp +++ b/src/walletdb.cpp @@ -343,7 +343,7 @@ DBErrors CWalletDB::LoadWallet(CWallet* pwallet) void ThreadFlushWalletDB(const string& strFile) { // Make this thread recognisable as the wallet flushing thread - RenameThread("bitcoin-wallet"); + RenameThread("twister-wallet"); static bool fOneThread; if (fOneThread)