aboutsummaryrefslogtreecommitdiff
path: root/src/util/system.h
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2019-11-25 17:31:31 -0500
committerfanquake <fanquake@gmail.com>2019-11-26 09:55:07 -0500
commitd2a3a5cadbe58c0fe363bbc6acac293d41eedf7e (patch)
treea8f86d51e6e0b40a5e0cb1cd0b8a23832e397f32 /src/util/system.h
parent0ee914ba9e5960763c7bb380b566ee481446f97a (diff)
downloadbitcoin-d2a3a5cadbe58c0fe363bbc6acac293d41eedf7e.tar.xz
util: make ScheduleBatchPriority advisory only
Diffstat (limited to 'src/util/system.h')
-rw-r--r--src/util/system.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/util/system.h b/src/util/system.h
index e0b6371dc9..82903b5187 100644
--- a/src/util/system.h
+++ b/src/util/system.h
@@ -367,10 +367,8 @@ std::string CopyrightHolders(const std::string& strPrefix);
* On platforms that support it, tell the kernel the calling thread is
* CPU-intensive and non-interactive. See SCHED_BATCH in sched(7) for details.
*
- * @return The return value of sched_setschedule(), or 1 on systems without
- * sched_setschedule().
*/
-int ScheduleBatchPriority();
+void ScheduleBatchPriority();
namespace util {