Browse Source

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

port-ckolivas
Con Kolivas 11 years ago committed by Noel Maersk
parent
commit
ee7fb11cfb
  1. 1
      sgminer.c

1
sgminer.c

@ -6330,6 +6330,7 @@ struct work *get_queued(struct cgpu_info *cgpu) @@ -6330,6 +6330,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);

Loading…
Cancel
Save