mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-07 03:03:58 +01:00
boost: drop boost threads for [alert|block|wallet]notify
This commit is contained in:
@@ -1188,7 +1188,8 @@ static void AlertNotify(const std::string& strMessage)
|
||||
safeStatus = singleQuote+safeStatus+singleQuote;
|
||||
boost::replace_all(strCmd, "%s", safeStatus);
|
||||
|
||||
boost::thread t(runCommand, strCmd); // thread runs free
|
||||
std::thread t(runCommand, strCmd);
|
||||
t.detach(); // thread runs free
|
||||
}
|
||||
|
||||
static void CheckForkWarningConditions()
|
||||
|
||||
Reference in New Issue
Block a user