Browse Source

Initialize thr->tv_poll to -1 (disabled)

Luke Dashjr 13 years ago
parent
commit
da766f222b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      miner.c

+ 1 - 0
miner.c

@@ -8498,6 +8498,7 @@ begin_bench:
 			thr->hashes_done = 0;
 			timerclear(&thr->tv_hashes_done);
 			gettimeofday(&thr->tv_lastupdate, NULL);
+			thr->tv_poll.tv_sec = -1;
 
 			cgpu->thr[j] = thr;
 		}