mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
boost: drop boost threads for [alert|block|wallet]notify
This commit is contained in:
parent
08272671d2
commit
004f999946
3 changed files with 6 additions and 4 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue