mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-12 16:17:53 +00:00
Fix thread names after review
* Fix wrong thread name for wallet *relocking* thread - Was named the unlocking thread * Use consistent naming Signed-off-by: Giel van Schijndel <me@mortis.eu>
This commit is contained in:
parent
96931d6f78
commit
9f46ab62b1
@ -1577,8 +1577,8 @@ void ThreadTopUpKeyPool(void* parg)
|
|||||||
|
|
||||||
void ThreadCleanWalletPassphrase(void* parg)
|
void ThreadCleanWalletPassphrase(void* parg)
|
||||||
{
|
{
|
||||||
// Make this thread recognisable as the wallet unlocking thread
|
// Make this thread recognisable as the wallet relocking thread
|
||||||
RenameThread("bitcoin-unlo-wa");
|
RenameThread("bitcoin-lock-wa");
|
||||||
|
|
||||||
int64 nMyWakeTime = GetTimeMillis() + *((int64*)parg) * 1000;
|
int64 nMyWakeTime = GetTimeMillis() + *((int64*)parg) * 1000;
|
||||||
|
|
||||||
|
@ -3595,7 +3595,7 @@ void static BitcoinMiner(CWallet *pwallet)
|
|||||||
SetThreadPriority(THREAD_PRIORITY_LOWEST);
|
SetThreadPriority(THREAD_PRIORITY_LOWEST);
|
||||||
|
|
||||||
// Make this thread recognisable as the mining thread
|
// Make this thread recognisable as the mining thread
|
||||||
RenameThread("bitcoin [miner]");
|
RenameThread("bitcoin-miner");
|
||||||
|
|
||||||
// Each thread has its own key and counter
|
// Each thread has its own key and counter
|
||||||
CReserveKey reservekey(pwallet);
|
CReserveKey reservekey(pwallet);
|
||||||
|
@ -641,7 +641,7 @@ void ThreadSocketHandler(void* parg)
|
|||||||
IMPLEMENT_RANDOMIZE_STACK(ThreadSocketHandler(parg));
|
IMPLEMENT_RANDOMIZE_STACK(ThreadSocketHandler(parg));
|
||||||
|
|
||||||
// Make this thread recognisable as the networking thread
|
// Make this thread recognisable as the networking thread
|
||||||
RenameThread("bitcoind [net]");
|
RenameThread("bitcoin-net");
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@ -997,7 +997,7 @@ void ThreadMapPort(void* parg)
|
|||||||
IMPLEMENT_RANDOMIZE_STACK(ThreadMapPort(parg));
|
IMPLEMENT_RANDOMIZE_STACK(ThreadMapPort(parg));
|
||||||
|
|
||||||
// Make this thread recognisable as the UPnP thread
|
// Make this thread recognisable as the UPnP thread
|
||||||
RenameThread("bitcoind [UPnP]");
|
RenameThread("bitcoin-UPnP");
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@ -1884,7 +1884,7 @@ void static Discover()
|
|||||||
void StartNode(void* parg)
|
void StartNode(void* parg)
|
||||||
{
|
{
|
||||||
// Make this thread recognisable as the startup thread
|
// Make this thread recognisable as the startup thread
|
||||||
RenameThread("bitcoin [start]");
|
RenameThread("bitcoin-start");
|
||||||
|
|
||||||
if (semOutbound == NULL) {
|
if (semOutbound == NULL) {
|
||||||
// initialize semaphore
|
// initialize semaphore
|
||||||
|
Loading…
Reference in New Issue
Block a user