From 937bf4335bc58c443645dc29b8d7ceadc81e74e5 Mon Sep 17 00:00:00 2001 From: fanquake Date: Tue, 25 Apr 2017 09:34:23 +0800 Subject: Use std::thread::hardware_concurrency, instead of Boost, to determine available cores --- src/util.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 3cc4c26817..bef22f8eb2 100644 --- a/src/util.h +++ b/src/util.h @@ -295,9 +295,8 @@ std::string HelpMessageGroup(const std::string& message); std::string HelpMessageOpt(const std::string& option, const std::string& message); /** - * Return the number of physical cores available on the current system. - * @note This does not count virtual cores, such as those provided by HyperThreading - * when boost is newer than 1.56. + * Return the number of cores available on the current system. + * @note This does count virtual cores, such as those provided by HyperThreading. */ int GetNumCores(); -- cgit v1.2.3