mirror of
https://github.com/GOSTSec/sgminer
synced 2025-09-11 05:32:16 +00:00
Queue a request on pool switch in case we have no work from the new pool yet.
This commit is contained in:
parent
aa8cd17a9d
commit
7611499b11
@ -2572,6 +2572,8 @@ void switch_pools(struct pool *selected)
|
|||||||
mutex_lock(&lp_lock);
|
mutex_lock(&lp_lock);
|
||||||
pthread_cond_broadcast(&lp_cond);
|
pthread_cond_broadcast(&lp_cond);
|
||||||
mutex_unlock(&lp_lock);
|
mutex_unlock(&lp_lock);
|
||||||
|
|
||||||
|
queue_request(NULL, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void discard_work(struct work *work)
|
static void discard_work(struct work *work)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user