diff options
author | Giel van Schijndel <me@mortis.eu> | 2012-06-30 17:14:28 +0200 |
---|---|---|
committer | Giel van Schijndel <me@mortis.eu> | 2012-07-17 01:50:35 +0200 |
commit | 9f46ab62b1ba47ad594d5e06e4fe837297f4790e (patch) | |
tree | 54dbf8d0cf39d3b30ca19061c6f57cc0a8cf92c1 /src | |
parent | 96931d6f78ccc21ec38cd4655b1a250893a6f252 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/bitcoinrpc.cpp | 4 | ||||
-rw-r--r-- | src/main.cpp | 2 | ||||
-rw-r--r-- | src/net.cpp | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 87db11082e..c2bf45e1e2 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -1577,8 +1577,8 @@ void ThreadTopUpKeyPool(void* parg) 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; diff --git a/src/main.cpp b/src/main.cpp index bcc5e60d78..c4472c4556 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3595,7 +3595,7 @@ void static BitcoinMiner(CWallet *pwallet) 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); diff --git a/src/net.cpp b/src/net.cpp index 000a10d852..78b5a752db 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -641,7 +641,7 @@ void ThreadSocketHandler(void* parg) IMPLEMENT_RANDOMIZE_STACK(ThreadSocketHandler(parg)); // Make this thread recognisable as the networking thread - RenameThread("bitcoind [net]"); + RenameThread("bitcoin-net"); try { @@ -997,7 +997,7 @@ void ThreadMapPort(void* parg) 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 static Discover() void StartNode(void* parg) { // Make this thread recognisable as the startup thread - RenameThread("bitcoin [start]"); + RenameThread("bitcoin-start"); if (semOutbound == NULL) { // initialize semaphore |