Browse Source

Merge commit '6eeb794' into bfgminer

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

+ 9 - 0
miner.c

@@ -6434,6 +6434,15 @@ struct work *get_work(struct thr_info *thr)
 
 	work->thr_id = thr_id;
 	thread_reportin(thr);
+	
+	// HACK: Since get_work still blocks, reportin all processors dependent on this thread
+	for (struct cgpu_info *proc = thr->cgpu->next_proc; proc; proc = proc->next_proc)
+	{
+		if (proc->threads)
+			break;
+		thread_reportin(proc->thr[0]);
+	}
+	
 	work->mined = true;
 	work->blk.nonce = 0;