Browse Source

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

nfactor-troky
Con Kolivas 12 years ago
parent
commit
7611499b11
  1. 2
      cgminer.c

2
cgminer.c

@ -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…
Cancel
Save