1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-27 23:14:21 +00:00

Queue a request on pool switch in case we have no work from the new pool yet.

This commit is contained in:
Con Kolivas 2012-08-05 14:57:46 +10:00
parent aa8cd17a9d
commit 7611499b11

View File

@ -2572,6 +2572,8 @@ void switch_pools(struct pool *selected)
mutex_lock(&lp_lock);
pthread_cond_broadcast(&lp_cond);
mutex_unlock(&lp_lock);
queue_request(NULL, false);
}
static void discard_work(struct work *work)