From 09104ce3e822452bc3587739763290a44d1c3519 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 2 Jul 2011 00:13:13 +1000 Subject: [PATCH] Flag the work back to just thread 0 used by all the threads to avoid lots of queued older work for each thread. --- cpu-miner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu-miner.c b/cpu-miner.c index 35d535ba..5f9c4cf1 100644 --- a/cpu-miner.c +++ b/cpu-miner.c @@ -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;