1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-02 18:14:20 +00:00

Restart is zeroed in the mining thread so no need to do it inside the bitforce code.

This commit is contained in:
ckolivas 2012-07-02 16:13:53 +10:00
parent ac45260e18
commit 391e1f7eb1

View File

@ -213,7 +213,6 @@ static uint64_t bitforce_scanhash(struct thr_info *thr, struct work *work, uint6
i += 1000;
/* Now start looking for results. Stupid polling every 10ms... */
work_restart[thr_id].restart = 0;
while (42) {
if (unlikely(work_restart[thr_id].restart))
return 0;