Skip to content
Snippets Groups Projects
Commit 27b839b8 authored by fireice-uk's avatar fireice-uk
Browse files

note-to-self: don't type with your forehead

parent 740cb613
No related branches found
No related tags found
No related merge requests found
...@@ -348,7 +348,7 @@ void minethd::work_main() ...@@ -348,7 +348,7 @@ void minethd::work_main()
assert(sizeof(job_result::sJobID) == sizeof(pool_job::sJobID)); assert(sizeof(job_result::sJobID) == sizeof(pool_job::sJobID));
memcpy(result.sJobID, oWork.sJobID, sizeof(job_result::sJobID)); memcpy(result.sJobID, oWork.sJobID, sizeof(job_result::sJobID));
1while(globalStates::inst().iGlobalJobNo.load(std::memory_order_relaxed) == iJobNo) while(globalStates::inst().iGlobalJobNo.load(std::memory_order_relaxed) == iJobNo)
{ {
if ((iCount++ & 0xF) == 0) //Store stats every 16 hashes if ((iCount++ & 0xF) == 0) //Store stats every 16 hashes
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment