mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge #12381: Remove more boost threads
004f999boost: drop boost threads for [alert|block|wallet]notify (Cory Fields)0827267boost: drop boost threads from torcontrol (Cory Fields)ba91724boost: remove useless threadGroup parameter from Discover (Cory Fields)f26866bboost: drop boost threads for upnp (Cory Fields) Pull request description: This doesn't completely get rid of boost::thread, but this batch should be easy to review, and leaves us with only threadGroup (scheduler + scriptcheck) remaining. Note to reviewers: The upnp diff changes a bunch of whitespace, it's much more clear with 'git diff -w' Tree-SHA512: 5a356798d0785f93ed143d1f0afafe890bc82f0d470bc969473da2d2aa78bcb9b096f7ba11b92564d546fb447d4bd0d347e7842994ea0170aafd53fda7e0a66e
This commit is contained in:
commit
0dfc25f82a
8 changed files with 75 additions and 59 deletions
|
|
@ -1182,7 +1182,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