diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-08-29 20:25:37 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-08-29 20:25:37 +0200 |
| commit | 4d1d94c56cf60e22e9199f8c37c5634752b570f5 (patch) | |
| tree | fff3e36bee446458372cbed586c8e65dd94b6c94 /src/rpcwallet.cpp | |
| parent | implement CreateThread with boost::thread (diff) | |
| download | discoin-4d1d94c56cf60e22e9199f8c37c5634752b570f5.tar.xz discoin-4d1d94c56cf60e22e9199f8c37c5634752b570f5.zip | |
Rename CreateThread to NewThread
Prevent clash with win32 API symbol
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 be83b85c1..b82b4f999 100644 --- a/src/rpcwallet.cpp +++ b/src/rpcwallet.cpp @@ -1302,9 +1302,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; } |