summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/cpu/minethd.hpp
diff options
context:
space:
mode:
authorfireice-uk <fireice-uk@users.noreply.github.com>2017-10-11 23:53:31 +0100
committerfireice-uk <fireice-uk@users.noreply.github.com>2017-10-11 23:53:31 +0100
commitc897fc04518b2701c7ec556a183406bae0760028 (patch)
tree3ec79c98586cc676c5e88d83b296489a4a534622 /xmrstak/backend/cpu/minethd.hpp
parentb40f937bf592f3fb303ce51fc073ab6ee9f922d0 (diff)
downloadxmr-stak-c897fc04518b2701c7ec556a183406bae0760028.zip
xmr-stak-c897fc04518b2701c7ec556a183406bae0760028.tar.gz
cleanup and give a return from set_affinity
Diffstat (limited to 'xmrstak/backend/cpu/minethd.hpp')
-rw-r--r--xmrstak/backend/cpu/minethd.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmrstak/backend/cpu/minethd.hpp b/xmrstak/backend/cpu/minethd.hpp
index 58d378e..584fb0d 100644
--- a/xmrstak/backend/cpu/minethd.hpp
+++ b/xmrstak/backend/cpu/minethd.hpp
@@ -24,7 +24,7 @@ public:
typedef void (*cn_hash_fun)(const void*, size_t, void*, cryptonight_ctx*);
static cn_hash_fun func_selector(bool bHaveAes, bool bNoPrefetch);
- static void thd_setaffinity(std::thread::native_handle_type h, uint64_t cpu_id);
+ static bool thd_setaffinity(std::thread::native_handle_type h, uint64_t cpu_id);
static cryptonight_ctx* minethd_alloc_ctx();
OpenPOWER on IntegriCloud