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:
parent
bed692152f
commit
09104ce3e8
@ -691,7 +691,7 @@ static void hashmeter(int thr_id, struct timeval *diff,
|
|||||||
|
|
||||||
static bool get_work(struct work *work)
|
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 work *work_heap;
|
||||||
struct workio_cmd *wc;
|
struct workio_cmd *wc;
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user