diff options
| author | Jeff Garzik <[email protected]> | 2012-09-04 08:53:05 -0700 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-09-04 08:53:05 -0700 |
| commit | 8c7b6c05db007aa8825aa3d366685fcaa9c0be44 (patch) | |
| tree | 4b1090a9e2dd0ff118af6813a874dfa9991225cc /src/rpcwallet.cpp | |
| parent | Merge pull request #1743 from xanatos/patch-14 (diff) | |
| parent | Rename CreateThread to NewThread (diff) | |
| download | discoin-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.cpp | 4 |
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; } |