Flag the work back to just thread 0 used by all the threads to avoid lots of queued older work for each thread.
diff --git a/cpu-miner.c b/cpu-miner.c
index 35d535b..5f9c4cf 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;