Merge pull request #1738 from laanwj/2012_08_boostthread

implement CreateThread with boost::thread
This commit is contained in:
Jeff Garzik
2012-09-04 08:53:05 -07:00
9 changed files with 40 additions and 79 deletions

View File

@@ -1385,7 +1385,7 @@ int CWallet::LoadWallet(bool& fFirstRunRet)
return nLoadWalletRet;
fFirstRunRet = !vchDefaultKey.IsValid();
CreateThread(ThreadFlushWalletDB, &strWalletFile);
NewThread(ThreadFlushWalletDB, &strWalletFile);
return DB_LOAD_OK;
}