Browse Source

Wake the global work scheduler when we remove a work item from the unqueued work pointer.

Con Kolivas 12 years ago
parent
commit
11d77d7523
1 changed files with 1 additions and 0 deletions
  1. 1 0
      miner.c

+ 1 - 0
miner.c

@@ -9113,6 +9113,7 @@ struct work *get_queued(struct cgpu_info *cgpu)
 		if (unlikely(stale_work(work, false))) {
 			discard_work(work);
 			work = NULL;
+			wake_gws();
 			goto out_unlock;
 		}
 		__add_queued(cgpu, work);