Mercurial > hg > bitcoin
changeset 3211:8457a38911db draft
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>
author | Giel van Schijndel <me@mortis.eu> |
---|---|
date | Sat, 30 Jun 2012 17:14:28 +0200 |
parents | 78578d7a8f1f |
children | df190420ae14 |
files | src/bitcoinrpc.cpp src/main.cpp src/net.cpp |
diffstat | 3 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -1577,8 +1577,8 @@ void ThreadCleanWalletPassphrase(void* parg) { - // Make this thread recognisable as the wallet unlocking thread - RenameThread("bitcoin-unlo-wa"); + // Make this thread recognisable as the wallet relocking thread + RenameThread("bitcoin-lock-wa"); int64 nMyWakeTime = GetTimeMillis() + *((int64*)parg) * 1000;
--- a/src/main.cpp +++ b/src/main.cpp @@ -3595,7 +3595,7 @@ SetThreadPriority(THREAD_PRIORITY_LOWEST); // Make this thread recognisable as the mining thread - RenameThread("bitcoin [miner]"); + RenameThread("bitcoin-miner"); // Each thread has its own key and counter CReserveKey reservekey(pwallet);
--- a/src/net.cpp +++ b/src/net.cpp @@ -641,7 +641,7 @@ IMPLEMENT_RANDOMIZE_STACK(ThreadSocketHandler(parg)); // Make this thread recognisable as the networking thread - RenameThread("bitcoind [net]"); + RenameThread("bitcoin-net"); try { @@ -997,7 +997,7 @@ IMPLEMENT_RANDOMIZE_STACK(ThreadMapPort(parg)); // Make this thread recognisable as the UPnP thread - RenameThread("bitcoind [UPnP]"); + RenameThread("bitcoin-UPnP"); try { @@ -1884,7 +1884,7 @@ void StartNode(void* parg) { // Make this thread recognisable as the startup thread - RenameThread("bitcoin [start]"); + RenameThread("bitcoin-start"); if (semOutbound == NULL) { // initialize semaphore