Browse Source

Merge commit '0b3d3df' into littlefury

Luke Dashjr 12 years ago
parent
commit
afffc1a87d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      driver-littlefury.c

+ 2 - 0
driver-littlefury.c

@@ -365,6 +365,8 @@ bool littlefury_do_io(struct thr_info *thr)
 	if (bitfury->job_switched && thr->next_work)
 	{
 		mt_job_transition(thr);
+		// TODO: Delay morework until right before it's needed
+		timer_set_now(&thr->tv_morework);
 		job_start_complete(thr);
 	}
 	if (thr->work && bitfury->results_n)