Browse Source

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

nfactor-troky
Con Kolivas 14 years ago
parent
commit
09104ce3e8
  1. 2
      cpu-miner.c

2
cpu-miner.c

@ -691,7 +691,7 @@ static void hashmeter(int thr_id, struct timeval *diff, @@ -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;

Loading…
Cancel
Save