Rename CreateThread to NewThread

Prevent clash with win32 API symbol
This commit is contained in:
Wladimir J. van der Laan
2012-08-29 20:25:37 +02:00
parent 61d8507140
commit 4d1d94c56c
9 changed files with 29 additions and 29 deletions

View File

@@ -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;
}