aboutsummaryrefslogtreecommitdiff
path: root/src/rpcwallet.cpp
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2012-09-04 08:53:05 -0700
committerJeff Garzik <[email protected]>2012-09-04 08:53:05 -0700
commit8c7b6c05db007aa8825aa3d366685fcaa9c0be44 (patch)
tree4b1090a9e2dd0ff118af6813a874dfa9991225cc /src/rpcwallet.cpp
parentMerge pull request #1743 from xanatos/patch-14 (diff)
parentRename CreateThread to NewThread (diff)
downloaddiscoin-8c7b6c05db007aa8825aa3d366685fcaa9c0be44.tar.xz
discoin-8c7b6c05db007aa8825aa3d366685fcaa9c0be44.zip
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 b8e6a4467..929dde9c1 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;
}