mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-09 06:18:02 +00:00
rename bitcoin threads
This commit is contained in:
parent
7458d09166
commit
f4f018a383
@ -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<boost::filesystem::path> vImportFiles)
|
||||
{
|
||||
RenameThread("bitcoin-loadblk");
|
||||
RenameThread("twister-loadblk");
|
||||
|
||||
// -reindex
|
||||
if (fReindex) {
|
||||
|
@ -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<unsigned char> salt(4);
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user