mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 12:34:27 +00:00
Wake the global work scheduler when we remove a work item from the unqueued work pointer.
This commit is contained in:
parent
2cea7ce439
commit
ee7fb11cfb
@ -6330,6 +6330,7 @@ struct work *get_queued(struct cgpu_info *cgpu)
|
|||||||
if (unlikely(stale_work(work, false))) {
|
if (unlikely(stale_work(work, false))) {
|
||||||
discard_work(work);
|
discard_work(work);
|
||||||
work = NULL;
|
work = NULL;
|
||||||
|
wake_gws();
|
||||||
goto out_unlock;
|
goto out_unlock;
|
||||||
}
|
}
|
||||||
__add_queued(cgpu, work);
|
__add_queued(cgpu, work);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user