aboutsummaryrefslogtreecommitdiff
path: root/src/rpcwallet.cpp
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-09-04 08:53:05 -0700
committerJeff Garzik <jgarzik@exmulti.com>2012-09-04 08:53:05 -0700
commit8c7b6c05db007aa8825aa3d366685fcaa9c0be44 (patch)
tree4b1090a9e2dd0ff118af6813a874dfa9991225cc /src/rpcwallet.cpp
parent9d7da11458b53dc12053d3625d05a21e8a7eeb2f (diff)
parent4d1d94c56cf60e22e9199f8c37c5634752b570f5 (diff)
downloadbitcoin-8c7b6c05db007aa8825aa3d366685fcaa9c0be44.tar.xz
Merge pull request #1738 from laanwj/2012_08_boostthread
implement CreateThread with boost::thread
Diffstat (limited to 'src/rpcwallet.cpp')
-rw-r--r--src/rpcwallet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp
index b8e6a4467a..929dde9c15 100644
--- a/src/rpcwallet.cpp
+++ b/src/rpcwallet.cpp
@@ -1303,9 +1303,9 @@ Value walletpassphrase(const Array& params, bool fHelp)
"walletpassphrase <passphrase> <timeout>\n"
"Stores the wallet decryption key in memory for <timeout> seconds.");
- CreateThread(ThreadTopUpKeyPool, NULL);
+ NewThread(ThreadTopUpKeyPool, NULL);
int64* pnSleepTime = new int64(params[1].get_int64());
- CreateThread(ThreadCleanWalletPassphrase, pnSleepTime);
+ NewThread(ThreadCleanWalletPassphrase, pnSleepTime);
return Value::null;
}