aboutsummaryrefslogtreecommitdiff
path: root/src/validation.cpp
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2018-02-07 19:19:34 -0500
committerCory Fields <cory-nospam-@coryfields.com>2018-02-08 14:35:29 -0500
commit004f9999464c7ef4a57b281dcbb407e5d193e798 (patch)
tree2fd9df9f73784808f615402cc1a182f53f3f6abd /src/validation.cpp
parent08272671d2218eb69589a0639cbb61ef7cde3004 (diff)
downloadbitcoin-004f9999464c7ef4a57b281dcbb407e5d193e798.tar.xz
boost: drop boost threads for [alert|block|wallet]notify
Diffstat (limited to 'src/validation.cpp')
-rw-r--r--src/validation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/validation.cpp b/src/validation.cpp
index 16b656c7f5..6b02c0920c 100644
--- a/src/validation.cpp
+++ b/src/validation.cpp
@@ -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()