summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd/minethd.hpp
diff options
context:
space:
mode:
authorfireice-uk <fireice-uk@users.noreply.github.com>2017-11-15 15:34:21 +0000
committerpsychocrypt <psychocrypt@users.noreply.github.com>2017-11-15 16:34:21 +0100
commit117493dc5359572a171c7ffb9b55da6740593089 (patch)
treeeae5efff99a00138043680408edacd2397c1e86d /xmrstak/backend/amd/minethd.hpp
parent288363814fb091ccfc452f0408bfa53727fc30c0 (diff)
downloadxmr-stak-117493dc5359572a171c7ffb9b55da6740593089.zip
xmr-stak-117493dc5359572a171c7ffb9b55da6740593089.tar.gz
Fix misc bugs (#117)
* CONF_NO_TLS fix * gpu error fix + always return to sched after pin
Diffstat (limited to 'xmrstak/backend/amd/minethd.hpp')
-rw-r--r--xmrstak/backend/amd/minethd.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmrstak/backend/amd/minethd.hpp b/xmrstak/backend/amd/minethd.hpp
index c4c2ce6..c808192 100644
--- a/xmrstak/backend/amd/minethd.hpp
+++ b/xmrstak/backend/amd/minethd.hpp
@@ -38,6 +38,7 @@ private:
miner_work oWork;
std::promise<void> order_fix;
+ std::mutex thd_aff_set;
std::thread oWorkThd;
int64_t affinity;
OpenPOWER on IntegriCloud