Browse Source

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

nfactor-troky
ckolivas 12 years ago
parent
commit
391e1f7eb1
  1. 1
      driver-bitforce.c

1
driver-bitforce.c

@ -213,7 +213,6 @@ static uint64_t bitforce_scanhash(struct thr_info *thr, struct work *work, uint6 @@ -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;

Loading…
Cancel
Save