1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Flag the work back to just thread 0 used by all the threads to avoid lots of queued older work for each thread.

This commit is contained in:
Con Kolivas 2011-07-02 00:13:13 +10:00
parent bed692152f
commit 09104ce3e8

View File

@ -691,7 +691,7 @@ static void hashmeter(int thr_id, struct timeval *diff,
static bool get_work(struct work *work)
{
struct thr_info *thr = &thr_info[work->thr_id];
struct thr_info *thr = &thr_info[0];
struct work *work_heap;
struct workio_cmd *wc;
bool ret = false;